#[non_exhaustive]pub enum ExposureCtrl {
Mode,
ExposureTime,
Auto,
AutoMaxExposure,
AutoTargetBrightness,
AutoMaxGain,
Custom(CustomName),
}
Expand description
Describes exposure control options.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Mode
Select exposure mode (PropertyType::EnumStr
)
ExposureTime
Select exposure time (PropertyType::Float
)
Auto
Select exposure auto mode (PropertyType::EnumStr
or PropertyType::Bool
)
AutoMaxExposure
Select maximum auto exposure time (PropertyType::Duration
)
AutoTargetBrightness
Select exposure auto target brightness (PropertyType::Float
)
AutoMaxGain
Select maximum gain for auto exposure (PropertyType::Float
)
Custom(CustomName)
A custom command
Trait Implementations§
Source§impl Clone for ExposureCtrl
impl Clone for ExposureCtrl
Source§fn clone(&self) -> ExposureCtrl
fn clone(&self) -> ExposureCtrl
Returns a copy 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 ExposureCtrl
impl Debug for ExposureCtrl
Source§impl<'de> Deserialize<'de> for ExposureCtrl
impl<'de> Deserialize<'de> for ExposureCtrl
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Documented for ExposureCtrl
impl Documented for ExposureCtrl
Source§impl DocumentedVariants for ExposureCtrl
impl DocumentedVariants for ExposureCtrl
Source§impl From<ExposureCtrl> for GenCamCtrl
impl From<ExposureCtrl> for GenCamCtrl
Source§fn from(ctrl: ExposureCtrl) -> Self
fn from(ctrl: ExposureCtrl) -> Self
Converts to this type from the input type.
Source§impl Hash for ExposureCtrl
impl Hash for ExposureCtrl
Source§impl PartialEq for ExposureCtrl
impl PartialEq for ExposureCtrl
Source§impl Serialize for ExposureCtrl
impl Serialize for ExposureCtrl
Source§impl ToolTip for ExposureCtrl
impl ToolTip for ExposureCtrl
impl Copy for ExposureCtrl
impl Eq for ExposureCtrl
impl StructuralPartialEq for ExposureCtrl
Auto Trait Implementations§
impl Freeze for ExposureCtrl
impl RefUnwindSafe for ExposureCtrl
impl Send for ExposureCtrl
impl Sync for ExposureCtrl
impl Unpin for ExposureCtrl
impl UnwindSafe for ExposureCtrl
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