#[non_exhaustive]pub enum GenCamCtrl {
Device(DeviceCtrl),
Sensor(SensorCtrl),
Trigger(TriggerCtrl),
Exposure(ExposureCtrl),
FrameTime(FrameTimeCtrl),
Analog(AnalogCtrl),
DigitalIo(DigitalIoCtrl),
}
Expand description
Describes the general camera control zones.
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.
Device(DeviceCtrl)
Device-specific control options.
Sensor(SensorCtrl)
Sensor-specific control options.
Trigger(TriggerCtrl)
Trigger-specific control options.
Exposure(ExposureCtrl)
Exposure-specific control options.
FrameTime(FrameTimeCtrl)
Frame rate-specific control options.
Analog(AnalogCtrl)
Analog-specific control options.
DigitalIo(DigitalIoCtrl)
Digital I/O-specific control options.
Trait Implementations§
Source§impl Clone for GenCamCtrl
impl Clone for GenCamCtrl
Source§fn clone(&self) -> GenCamCtrl
fn clone(&self) -> GenCamCtrl
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 GenCamCtrl
impl Debug for GenCamCtrl
Source§impl<'de> Deserialize<'de> for GenCamCtrl
impl<'de> Deserialize<'de> for GenCamCtrl
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 GenCamCtrl
impl Documented for GenCamCtrl
Source§impl DocumentedVariants for GenCamCtrl
impl DocumentedVariants for GenCamCtrl
Source§impl From<AnalogCtrl> for GenCamCtrl
impl From<AnalogCtrl> for GenCamCtrl
Source§fn from(ctrl: AnalogCtrl) -> Self
fn from(ctrl: AnalogCtrl) -> Self
Converts to this type from the input type.
Source§impl From<DeviceCtrl> for GenCamCtrl
impl From<DeviceCtrl> for GenCamCtrl
Source§fn from(ctrl: DeviceCtrl) -> Self
fn from(ctrl: DeviceCtrl) -> Self
Converts to this type from the input type.
Source§impl From<DigitalIoCtrl> for GenCamCtrl
impl From<DigitalIoCtrl> for GenCamCtrl
Source§fn from(ctrl: DigitalIoCtrl) -> Self
fn from(ctrl: DigitalIoCtrl) -> Self
Converts to this type from the input type.
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 From<FrameTimeCtrl> for GenCamCtrl
impl From<FrameTimeCtrl> for GenCamCtrl
Source§fn from(ctrl: FrameTimeCtrl) -> Self
fn from(ctrl: FrameTimeCtrl) -> Self
Converts to this type from the input type.
Source§impl From<SensorCtrl> for GenCamCtrl
impl From<SensorCtrl> for GenCamCtrl
Source§fn from(ctrl: SensorCtrl) -> Self
fn from(ctrl: SensorCtrl) -> Self
Converts to this type from the input type.
Source§impl From<TriggerCtrl> for GenCamCtrl
impl From<TriggerCtrl> for GenCamCtrl
Source§fn from(ctrl: TriggerCtrl) -> Self
fn from(ctrl: TriggerCtrl) -> Self
Converts to this type from the input type.
Source§impl Hash for GenCamCtrl
impl Hash for GenCamCtrl
Source§impl PartialEq for GenCamCtrl
impl PartialEq for GenCamCtrl
Source§impl Serialize for GenCamCtrl
impl Serialize for GenCamCtrl
Source§impl ToolTip for GenCamCtrl
impl ToolTip for GenCamCtrl
impl Copy for GenCamCtrl
impl Eq for GenCamCtrl
impl StructuralPartialEq for GenCamCtrl
Auto Trait Implementations§
impl Freeze for GenCamCtrl
impl RefUnwindSafe for GenCamCtrl
impl Send for GenCamCtrl
impl Sync for GenCamCtrl
impl Unpin for GenCamCtrl
impl UnwindSafe for GenCamCtrl
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