#[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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more