[−][src]Struct os_balloon::config::Video  
Video configuration structure.
Fields
height: u16Height of the video, in px.
width: u16Width of the video, in px.
rotation: Option<u16>Rotation of the camera, in degrees (°).
fps: u8Frames per second (FPS) for the video.
bitrate: u32Bit rate for the video, in bps (bits per second).
exposure: Option<Exposure>Exposure configuration.
brightness: Option<u8>Brightness correction.
contrast: Option<i8>Contrast correction.
sharpness: Option<i8>Sharpness configuration.
saturation: Option<i8>Saturation configuration.
iso: Option<u16>ISO for the image.
stabilization: Option<bool>Video stabilization.
ev: Option<i8>EV correction configuration.
white_balance: Option<WhiteBalance>White balance configuration.
Methods
impl Video[src]
pub fn height(self) -> u16[src]
Gets the configured video height for the camera, in pixels.
pub fn width(self) -> u16[src]
Gets the configured video width for the camera, in pixels.
pub fn rotation(self) -> Option<u16>[src]
Gets the configured picture rotation for the camera, in degrees (°).
pub fn fps(self) -> u8[src]
Gets the configured video framerate for the camera, in frames per second.
pub fn bitrate(self) -> u32[src]
Gets the configured bitrate for videos.
pub fn exposure(self) -> Option<Exposure>[src]
Gets the configured exposure for videos.
pub fn brightness(self) -> Option<u8>[src]
Gets the configured brightness for videos.
pub fn contrast(self) -> Option<i8>[src]
Gets the configured contrast for videos.
pub fn sharpness(self) -> Option<i8>[src]
Gets the configured sharpness for videos.
pub fn saturation(self) -> Option<i8>[src]
Gets the configured saturation for videos.
pub fn iso(self) -> Option<u16>[src]
Gets the configured ISO for videos.
pub fn stabilization(self) -> bool[src]
Gets if video stabilization needs to be turned on.
pub fn ev(self) -> Option<i8>[src]
Gets the configured EV compensation for videos.
pub fn white_balance(self) -> Option<WhiteBalance>[src]
Gets the configured automatic white balance for videos.
Trait Implementations
impl Clone for Video[src]
fn clone(&self) -> Video[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for Video[src]
impl Debug for Video[src]
impl<'de> Deserialize<'de> for Video[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
fn deserialize_in_place<D>(
    deserializer: D, 
    place: &mut Self
) -> Result<(), <D as Deserializer<'de>>::Error> where
    D: Deserializer<'de>, [src]
deserializer: D,
place: &mut Self
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
Deserializes a value into self from the given Deserializer. Read more
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
    T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, [src]
T: Deserialize<'de>,
impl<T> Erased for T[src]
impl<T> DebugAny for T where
    T: Any + Debug, [src]
T: Any + Debug,
impl<T> CloneAny for T where
    T: Clone + Any, [src]
T: Clone + Any,
fn clone_any(&self) -> Box<dyn CloneAny + 'static>[src]
fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send> where
    T: Send, [src]
T: Send,
fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync> where
    T: Sync, [src]
T: Sync,
fn clone_any_send_sync(&self) -> Box<dyn CloneAny + 'static + Sync + Send> where
    T: Send + Sync, [src]
T: Send + Sync,
impl<T> UnsafeAny for T where
    T: Any, [src]
T: Any,