#[non_exhaustive]pub enum SensorCtrl {
Show 21 variants
PixelWidth,
PixelHeight,
Name,
ShutterMode,
WidthMax,
HeightMax,
BinningSelector,
BinningBoth,
BinningHorzlMode,
BinningVertMode,
BinningHorz,
BinningVert,
DecimationHorzMode,
DecimationHorz,
DecimationVertMode,
DecimationVert,
ReverseX,
ReverseY,
PixelFormat,
TestPattern,
Custom(CustomName),
}Expand description
Describes sensor-specific control options.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
PixelWidth
Query pixel width (PropertyType::Float)
PixelHeight
Query pixel height (PropertyType::Float)
Name
Query sensor name (PropertyType::EnumStr)
ShutterMode
Query sensor shutter mode (PropertyType::EnumStr)
WidthMax
Query sensor max width (PropertyType::Unsigned)
HeightMax
Query sensor max height (PropertyType::Unsigned)
BinningSelector
Query the binning method (PropertyType::EnumStr)
BinningBoth
Query binning factor on both axes (PropertyType::EnumUnsigned or PropertyType::Unsigned)
BinningHorzlMode
Query the horizontal binning mode (PropertyType::EnumStr)
BinningVertMode
Query the vertical binning mode (PropertyType::EnumStr)
BinningHorz
Query the horizontal binning factor (PropertyType::Unsigned or PropertyType::EnumUnsigned)
BinningVert
Query the vertical binning factor (PropertyType::Unsigned or PropertyType::EnumUnsigned)
DecimationHorzMode
Query the horizontal decimation method (PropertyType::EnumStr)
DecimationHorz
Query the horizontal decimation mode (PropertyType::EnumStr)
DecimationVertMode
Query the vertical decimation method (PropertyType::EnumStr)
DecimationVert
Query the vertical decimation mode (PropertyType::EnumStr)
ReverseX
Reverse the image about the X axis (PropertyType::Bool)
ReverseY
Reverse the image about the Y axis (PropertyType::Bool)
PixelFormat
Query the pixel format (PropertyType::EnumStr)
TestPattern
Apply a test pattern to the image (PropertyType::EnumStr)
Custom(CustomName)
A custom command
Trait Implementations§
Source§impl Clone for SensorCtrl
impl Clone for SensorCtrl
Source§fn clone(&self) -> SensorCtrl
fn clone(&self) -> SensorCtrl
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 SensorCtrl
Source§impl Debug for SensorCtrl
impl Debug for SensorCtrl
Source§impl<'de> Deserialize<'de> for SensorCtrl
impl<'de> Deserialize<'de> for SensorCtrl
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 SensorCtrl
impl Documented for SensorCtrl
Source§impl DocumentedVariants for SensorCtrl
impl DocumentedVariants for SensorCtrl
impl Eq for SensorCtrl
Source§impl From<SensorCtrl> for GenCamCtrl
impl From<SensorCtrl> for GenCamCtrl
Source§fn from(ctrl: SensorCtrl) -> Self
fn from(ctrl: SensorCtrl) -> Self
Source§impl Hash for SensorCtrl
impl Hash for SensorCtrl
Source§impl PartialEq for SensorCtrl
impl PartialEq for SensorCtrl
Source§fn eq(&self, other: &SensorCtrl) -> bool
fn eq(&self, other: &SensorCtrl) -> bool
self and other values to be equal, and is used by ==.