#[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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for AnalogCtrl
Source§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
impl Eq for AnalogCtrl
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
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 UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.