Enum generic_camera::SensorCtrl
source · #[non_exhaustive]pub enum SensorCtrl {
Show 19 variants
PixelWidth,
PixelHeight,
Name,
ShutterMode,
WidthMax,
HeightMax,
BinningSelector,
BinningHorzlMode,
BinningVertMode,
BinningHorz,
BinningVert,
DecimationHorzMode,
DecimationHorz,
DecimationVertMode,
DecimationVert,
ReverseX,
ReverseY,
PixelFormat,
TestPattern,
}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)
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)
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 moresource§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 From<SensorCtrl> for GenCamCtrl
impl From<SensorCtrl> for GenCamCtrl
source§fn from(ctrl: SensorCtrl) -> Self
fn from(ctrl: SensorCtrl) -> Self
source§impl PartialEq for SensorCtrl
impl PartialEq for SensorCtrl
source§impl Serialize for SensorCtrl
impl Serialize for SensorCtrl
impl Copy for SensorCtrl
impl StructuralPartialEq for SensorCtrl
Auto Trait Implementations§
impl Freeze for SensorCtrl
impl RefUnwindSafe for SensorCtrl
impl Send for SensorCtrl
impl Sync for SensorCtrl
impl Unpin for SensorCtrl
impl UnwindSafe for SensorCtrl
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)