pub struct ControlValues {Show 17 fields
pub backlight_compensation: u16,
pub brightness: i16,
pub contrast: u16,
pub gain: u16,
pub power_line_frequency: u8,
pub hue: i16,
pub saturation: u16,
pub sharpness: u16,
pub gamma: u16,
pub white_balance_temp: u16,
pub white_balance_auto: bool,
pub hue_auto: bool,
pub ae_mode: u8,
pub exposure_time_abs: u32,
pub focus_abs: u16,
pub focus_auto: bool,
pub zoom_abs: u16,
}Expand description
Current values of all VideoControl Processing Unit and Camera Terminal controls.
Fields§
§backlight_compensation: u16Backlight compensation.
brightness: i16Brightness.
contrast: u16Contrast.
gain: u16Gain.
power_line_frequency: u8Power line frequency (0..=3).
hue: i16Hue.
saturation: u16Saturation.
sharpness: u16Sharpness.
gamma: u16Gamma.
white_balance_temp: u16White balance temperature in Kelvin.
white_balance_auto: boolAuto white balance enabled.
hue_auto: boolAuto hue enabled.
ae_mode: u8Auto-exposure mode bitmap.
exposure_time_abs: u32Absolute exposure time in 100 µs units.
focus_abs: u16Absolute focus position.
focus_auto: boolAuto-focus enabled.
zoom_abs: u16Absolute zoom position.
Trait Implementations§
Source§impl Clone for ControlValues
impl Clone for ControlValues
impl Copy for ControlValues
Source§impl Debug for ControlValues
impl Debug for ControlValues
Source§impl Default for ControlValues
impl Default for ControlValues
impl Eq for ControlValues
Source§impl Format for ControlValues
impl Format for ControlValues
Source§impl PartialEq for ControlValues
impl PartialEq for ControlValues
impl StructuralPartialEq for ControlValues
Auto Trait Implementations§
impl Forget for ControlValues
impl Freeze for ControlValues
impl Move for ControlValues
impl RefUnwindSafe for ControlValues
impl Send for ControlValues
impl Sync for ControlValues
impl Unpin for ControlValues
impl UnsafeUnpin for ControlValues
impl UnwindSafe for ControlValues
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more