#[non_exhaustive]pub enum AnalogCtrl {
Show 15 variants
GainSelector,
Gain,
GainAuto,
GainAutoBalance,
BlackLevelSel,
BlackLevel,
BlackLevelAuto,
BlackLevelAutoBalance,
WhiteClipSel,
WhiteClip,
BalanceRatioSel,
BalanceRatio,
BalanceWhiteAuto,
Gamma,
Custom(CustomName),
}
Expand description
Describes analog control options.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
GainSelector
Select which gain to control (PropertyType::EnumStr
)
Gain
Select gain value (PropertyType::Float
)
GainAuto
Select gain auto mode (PropertyType::EnumStr
or PropertyType::Bool
)
GainAutoBalance
Select gain auto balance (PropertyType::Float
)
BlackLevelSel
Select which black level to control (PropertyType::EnumStr
)
BlackLevel
Select black level value (PropertyType::Float
)
BlackLevelAuto
Select black level auto mode (PropertyType::EnumStr
or PropertyType::Bool
)
BlackLevelAutoBalance
Select black level auto balance (PropertyType::Float
)
WhiteClipSel
Select which white clip to control (PropertyType::EnumStr
)
WhiteClip
Select white clip value (PropertyType::Float
)
BalanceRatioSel
Select white balance ratio mode (PropertyType::EnumStr
)
BalanceRatio
Configure white balance ratio value (PropertyType::Float
)
BalanceWhiteAuto
Configure white balance ratio auto mode (PropertyType::EnumStr
or PropertyType::Bool
)
Gamma
Configure gamma value (PropertyType::Float
)
Custom(CustomName)
A custom command
Trait Implementations§
source§impl Clone for AnalogCtrl
impl Clone for AnalogCtrl
source§fn clone(&self) -> AnalogCtrl
fn clone(&self) -> AnalogCtrl
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AnalogCtrl
impl Debug for AnalogCtrl
source§impl<'de> Deserialize<'de> for AnalogCtrl
impl<'de> Deserialize<'de> for AnalogCtrl
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl Documented for AnalogCtrl
impl Documented for AnalogCtrl
source§impl DocumentedVariants for AnalogCtrl
impl DocumentedVariants for AnalogCtrl
source§fn get_variant_docs(&self) -> &'static str
fn get_variant_docs(&self) -> &'static str
source§impl From<AnalogCtrl> for GenCamCtrl
impl From<AnalogCtrl> for GenCamCtrl
source§fn from(ctrl: AnalogCtrl) -> Self
fn from(ctrl: AnalogCtrl) -> Self
source§impl Hash for AnalogCtrl
impl Hash for AnalogCtrl
source§impl PartialEq for AnalogCtrl
impl PartialEq for AnalogCtrl
source§impl Serialize for AnalogCtrl
impl Serialize for AnalogCtrl
source§impl ToolTip for AnalogCtrl
impl ToolTip for AnalogCtrl
impl Copy for AnalogCtrl
impl Eq for AnalogCtrl
impl StructuralPartialEq for AnalogCtrl
Auto Trait Implementations§
impl Freeze for AnalogCtrl
impl RefUnwindSafe for AnalogCtrl
impl Send for AnalogCtrl
impl Sync for AnalogCtrl
impl Unpin for AnalogCtrl
impl UnwindSafe for AnalogCtrl
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)