#[repr(u32)]pub enum ColorControlCommand {
ExposureTimeAbsolute = 0,
AutoExposurePriority = 1,
Brightness = 2,
Contrast = 3,
Saturation = 4,
Sharpness = 5,
WhiteBalance = 6,
BacklightCompensation = 7,
Gain = 8,
PowerlineFrequency = 9,
}Expand description
Color sensor control commands
Variants§
ExposureTimeAbsolute = 0
Exposure time setting.
AutoExposurePriority = 1
Exposure or Framerate priority setting.
Brightness = 2
Brightness setting.
Contrast = 3
Contrast setting.
Saturation = 4
Saturation setting.
Sharpness = 5
Sharpness setting.
WhiteBalance = 6
White balance setting.
BacklightCompensation = 7
Backlight compensation setting.
Gain = 8
Gain setting.
PowerlineFrequency = 9
Powerline frequency setting.
Trait Implementations§
Source§impl Clone for ColorControlCommand
impl Clone for ColorControlCommand
Source§fn clone(&self) -> ColorControlCommand
fn clone(&self) -> ColorControlCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ColorControlCommand
impl Debug for ColorControlCommand
Source§impl From<ColorControlCommand> for k4a_color_control_command_t
impl From<ColorControlCommand> for k4a_color_control_command_t
Source§fn from(s: ColorControlCommand) -> Self
fn from(s: ColorControlCommand) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ColorControlCommand
impl PartialEq for ColorControlCommand
impl Copy for ColorControlCommand
impl StructuralPartialEq for ColorControlCommand
Auto Trait Implementations§
impl Freeze for ColorControlCommand
impl RefUnwindSafe for ColorControlCommand
impl Send for ColorControlCommand
impl Sync for ColorControlCommand
impl Unpin for ColorControlCommand
impl UnwindSafe for ColorControlCommand
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