Enum libcamera::control_value::ControlValue
source · pub enum ControlValue {
None,
Bool(SmallVec<[bool; 1]>),
Byte(SmallVec<[u8; 1]>),
Int32(SmallVec<[i32; 1]>),
Int64(SmallVec<[i64; 1]>),
Float(SmallVec<[f32; 1]>),
String(String),
Rectangle(SmallVec<[Rectangle; 1]>),
Size(SmallVec<[Size; 1]>),
}
Expand description
A value of a control or a property.
Variants§
None
Bool(SmallVec<[bool; 1]>)
Byte(SmallVec<[u8; 1]>)
Int32(SmallVec<[i32; 1]>)
Int64(SmallVec<[i64; 1]>)
Float(SmallVec<[f32; 1]>)
String(String)
Rectangle(SmallVec<[Rectangle; 1]>)
Size(SmallVec<[Size; 1]>)
Implementations§
Trait Implementations§
source§impl Clone for ControlValue
impl Clone for ControlValue
source§fn clone(&self) -> ControlValue
fn clone(&self) -> ControlValue
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 ControlValue
impl Debug for ControlValue
source§impl From<AeConstraintMode> for ControlValue
impl From<AeConstraintMode> for ControlValue
source§fn from(val: AeConstraintMode) -> Self
fn from(val: AeConstraintMode) -> Self
Converts to this type from the input type.
source§impl From<AeEnable> for ControlValue
impl From<AeEnable> for ControlValue
source§impl From<AeExposureMode> for ControlValue
impl From<AeExposureMode> for ControlValue
source§fn from(val: AeExposureMode) -> Self
fn from(val: AeExposureMode) -> Self
Converts to this type from the input type.
source§impl From<AeLocked> for ControlValue
impl From<AeLocked> for ControlValue
source§impl From<AeMeteringMode> for ControlValue
impl From<AeMeteringMode> for ControlValue
source§fn from(val: AeMeteringMode) -> Self
fn from(val: AeMeteringMode) -> Self
Converts to this type from the input type.
source§impl From<AePrecaptureTrigger> for ControlValue
impl From<AePrecaptureTrigger> for ControlValue
source§fn from(val: AePrecaptureTrigger) -> Self
fn from(val: AePrecaptureTrigger) -> Self
Converts to this type from the input type.
source§impl From<AeState> for ControlValue
impl From<AeState> for ControlValue
source§impl From<AfMetering> for ControlValue
impl From<AfMetering> for ControlValue
source§fn from(val: AfMetering) -> Self
fn from(val: AfMetering) -> Self
Converts to this type from the input type.
source§impl From<AfMode> for ControlValue
impl From<AfMode> for ControlValue
source§impl From<AfPause> for ControlValue
impl From<AfPause> for ControlValue
source§impl From<AfPauseState> for ControlValue
impl From<AfPauseState> for ControlValue
source§fn from(val: AfPauseState) -> Self
fn from(val: AfPauseState) -> Self
Converts to this type from the input type.
source§impl From<AfRange> for ControlValue
impl From<AfRange> for ControlValue
source§impl From<AfSpeed> for ControlValue
impl From<AfSpeed> for ControlValue
source§impl From<AfState> for ControlValue
impl From<AfState> for ControlValue
source§impl From<AfTrigger> for ControlValue
impl From<AfTrigger> for ControlValue
source§impl From<AfWindows> for ControlValue
impl From<AfWindows> for ControlValue
source§impl From<AnalogueGain> for ControlValue
impl From<AnalogueGain> for ControlValue
source§fn from(val: AnalogueGain) -> Self
fn from(val: AnalogueGain) -> Self
Converts to this type from the input type.
source§impl From<AwbEnable> for ControlValue
impl From<AwbEnable> for ControlValue
source§impl From<AwbLocked> for ControlValue
impl From<AwbLocked> for ControlValue
source§impl From<AwbMode> for ControlValue
impl From<AwbMode> for ControlValue
source§impl From<AwbState> for ControlValue
impl From<AwbState> for ControlValue
source§impl From<Brightness> for ControlValue
impl From<Brightness> for ControlValue
source§fn from(val: Brightness) -> Self
fn from(val: Brightness) -> Self
Converts to this type from the input type.
source§impl From<ColorCorrectionAberrationMode> for ControlValue
impl From<ColorCorrectionAberrationMode> for ControlValue
source§fn from(val: ColorCorrectionAberrationMode) -> Self
fn from(val: ColorCorrectionAberrationMode) -> Self
Converts to this type from the input type.
source§impl From<ColorFilterArrangement> for ControlValue
impl From<ColorFilterArrangement> for ControlValue
source§fn from(val: ColorFilterArrangement) -> Self
fn from(val: ColorFilterArrangement) -> Self
Converts to this type from the input type.
source§impl From<ColourCorrectionMatrix> for ControlValue
impl From<ColourCorrectionMatrix> for ControlValue
source§fn from(val: ColourCorrectionMatrix) -> Self
fn from(val: ColourCorrectionMatrix) -> Self
Converts to this type from the input type.
source§impl From<ColourGains> for ControlValue
impl From<ColourGains> for ControlValue
source§fn from(val: ColourGains) -> Self
fn from(val: ColourGains) -> Self
Converts to this type from the input type.
source§impl From<ColourTemperature> for ControlValue
impl From<ColourTemperature> for ControlValue
source§fn from(val: ColourTemperature) -> Self
fn from(val: ColourTemperature) -> Self
Converts to this type from the input type.
source§impl From<Contrast> for ControlValue
impl From<Contrast> for ControlValue
source§impl From<DigitalGain> for ControlValue
impl From<DigitalGain> for ControlValue
source§fn from(val: DigitalGain) -> Self
fn from(val: DigitalGain) -> Self
Converts to this type from the input type.
source§impl From<ExposureTime> for ControlValue
impl From<ExposureTime> for ControlValue
source§fn from(val: ExposureTime) -> Self
fn from(val: ExposureTime) -> Self
Converts to this type from the input type.
source§impl From<ExposureValue> for ControlValue
impl From<ExposureValue> for ControlValue
source§fn from(val: ExposureValue) -> Self
fn from(val: ExposureValue) -> Self
Converts to this type from the input type.
source§impl From<FocusFoM> for ControlValue
impl From<FocusFoM> for ControlValue
source§impl From<FrameDuration> for ControlValue
impl From<FrameDuration> for ControlValue
source§fn from(val: FrameDuration) -> Self
fn from(val: FrameDuration) -> Self
Converts to this type from the input type.
source§impl From<FrameDurationLimits> for ControlValue
impl From<FrameDurationLimits> for ControlValue
source§fn from(val: FrameDurationLimits) -> Self
fn from(val: FrameDurationLimits) -> Self
Converts to this type from the input type.
source§impl From<LensPosition> for ControlValue
impl From<LensPosition> for ControlValue
source§fn from(val: LensPosition) -> Self
fn from(val: LensPosition) -> Self
Converts to this type from the input type.
source§impl From<LensShadingMapMode> for ControlValue
impl From<LensShadingMapMode> for ControlValue
source§fn from(val: LensShadingMapMode) -> Self
fn from(val: LensShadingMapMode) -> Self
Converts to this type from the input type.
source§impl From<Location> for ControlValue
impl From<Location> for ControlValue
source§impl From<Lux> for ControlValue
impl From<Lux> for ControlValue
source§impl From<MaxLatency> for ControlValue
impl From<MaxLatency> for ControlValue
source§fn from(val: MaxLatency) -> Self
fn from(val: MaxLatency) -> Self
Converts to this type from the input type.
source§impl From<Model> for ControlValue
impl From<Model> for ControlValue
source§impl From<NoiseReductionMode> for ControlValue
impl From<NoiseReductionMode> for ControlValue
source§fn from(val: NoiseReductionMode) -> Self
fn from(val: NoiseReductionMode) -> Self
Converts to this type from the input type.
source§impl From<PipelineDepth> for ControlValue
impl From<PipelineDepth> for ControlValue
source§fn from(val: PipelineDepth) -> Self
fn from(val: PipelineDepth) -> Self
Converts to this type from the input type.
source§impl From<PixelArrayActiveAreas> for ControlValue
impl From<PixelArrayActiveAreas> for ControlValue
source§fn from(val: PixelArrayActiveAreas) -> Self
fn from(val: PixelArrayActiveAreas) -> Self
Converts to this type from the input type.
source§impl From<PixelArrayOpticalBlackRectangles> for ControlValue
impl From<PixelArrayOpticalBlackRectangles> for ControlValue
source§fn from(val: PixelArrayOpticalBlackRectangles) -> Self
fn from(val: PixelArrayOpticalBlackRectangles) -> Self
Converts to this type from the input type.
source§impl From<PixelArraySize> for ControlValue
impl From<PixelArraySize> for ControlValue
source§fn from(val: PixelArraySize) -> Self
fn from(val: PixelArraySize) -> Self
Converts to this type from the input type.
source§impl From<Rectangle> for ControlValue
impl From<Rectangle> for ControlValue
source§impl From<Rotation> for ControlValue
impl From<Rotation> for ControlValue
source§impl From<Saturation> for ControlValue
impl From<Saturation> for ControlValue
source§fn from(val: Saturation) -> Self
fn from(val: Saturation) -> Self
Converts to this type from the input type.
source§impl From<ScalerCrop> for ControlValue
impl From<ScalerCrop> for ControlValue
source§fn from(val: ScalerCrop) -> Self
fn from(val: ScalerCrop) -> Self
Converts to this type from the input type.
source§impl From<ScalerCropMaximum> for ControlValue
impl From<ScalerCropMaximum> for ControlValue
source§fn from(val: ScalerCropMaximum) -> Self
fn from(val: ScalerCropMaximum) -> Self
Converts to this type from the input type.
source§impl From<SceneFlicker> for ControlValue
impl From<SceneFlicker> for ControlValue
source§fn from(val: SceneFlicker) -> Self
fn from(val: SceneFlicker) -> Self
Converts to this type from the input type.
source§impl From<SensorBlackLevels> for ControlValue
impl From<SensorBlackLevels> for ControlValue
source§fn from(val: SensorBlackLevels) -> Self
fn from(val: SensorBlackLevels) -> Self
Converts to this type from the input type.
source§impl From<SensorRollingShutterSkew> for ControlValue
impl From<SensorRollingShutterSkew> for ControlValue
source§fn from(val: SensorRollingShutterSkew) -> Self
fn from(val: SensorRollingShutterSkew) -> Self
Converts to this type from the input type.
source§impl From<SensorSensitivity> for ControlValue
impl From<SensorSensitivity> for ControlValue
source§fn from(val: SensorSensitivity) -> Self
fn from(val: SensorSensitivity) -> Self
Converts to this type from the input type.
source§impl From<SensorTemperature> for ControlValue
impl From<SensorTemperature> for ControlValue
source§fn from(val: SensorTemperature) -> Self
fn from(val: SensorTemperature) -> Self
Converts to this type from the input type.
source§impl From<SensorTimestamp> for ControlValue
impl From<SensorTimestamp> for ControlValue
source§fn from(val: SensorTimestamp) -> Self
fn from(val: SensorTimestamp) -> Self
Converts to this type from the input type.
source§impl From<Sharpness> for ControlValue
impl From<Sharpness> for ControlValue
source§impl From<Size> for ControlValue
impl From<Size> for ControlValue
source§impl From<String> for ControlValue
impl From<String> for ControlValue
source§impl From<SystemDevices> for ControlValue
impl From<SystemDevices> for ControlValue
source§fn from(val: SystemDevices) -> Self
fn from(val: SystemDevices) -> Self
Converts to this type from the input type.
source§impl From<TestPatternMode> for ControlValue
impl From<TestPatternMode> for ControlValue
source§fn from(val: TestPatternMode) -> Self
fn from(val: TestPatternMode) -> Self
Converts to this type from the input type.
source§impl From<UnitCellSize> for ControlValue
impl From<UnitCellSize> for ControlValue
source§fn from(val: UnitCellSize) -> Self
fn from(val: UnitCellSize) -> Self
Converts to this type from the input type.
source§impl From<bool> for ControlValue
impl From<bool> for ControlValue
source§impl From<f32> for ControlValue
impl From<f32> for ControlValue
source§impl From<i32> for ControlValue
impl From<i32> for ControlValue
source§impl From<i64> for ControlValue
impl From<i64> for ControlValue
source§impl From<u8> for ControlValue
impl From<u8> for ControlValue
source§impl<const N: usize, const M: usize> TryFrom<ControlValue> for [[Rectangle; M]; N]
impl<const N: usize, const M: usize> TryFrom<ControlValue> for [[Rectangle; M]; N]
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl<const N: usize, const M: usize> TryFrom<ControlValue> for [[Size; M]; N]
impl<const N: usize, const M: usize> TryFrom<ControlValue> for [[Size; M]; N]
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl<const N: usize, const M: usize> TryFrom<ControlValue> for [[bool; M]; N]
impl<const N: usize, const M: usize> TryFrom<ControlValue> for [[bool; M]; N]
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl<const N: usize, const M: usize> TryFrom<ControlValue> for [[f32; M]; N]
impl<const N: usize, const M: usize> TryFrom<ControlValue> for [[f32; M]; N]
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl<const N: usize, const M: usize> TryFrom<ControlValue> for [[i32; M]; N]
impl<const N: usize, const M: usize> TryFrom<ControlValue> for [[i32; M]; N]
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl<const N: usize, const M: usize> TryFrom<ControlValue> for [[i64; M]; N]
impl<const N: usize, const M: usize> TryFrom<ControlValue> for [[i64; M]; N]
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl<const N: usize, const M: usize> TryFrom<ControlValue> for [[u8; M]; N]
impl<const N: usize, const M: usize> TryFrom<ControlValue> for [[u8; M]; N]
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl<const N: usize> TryFrom<ControlValue> for [Rectangle; N]
impl<const N: usize> TryFrom<ControlValue> for [Rectangle; N]
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl<const N: usize> TryFrom<ControlValue> for [Size; N]
impl<const N: usize> TryFrom<ControlValue> for [Size; N]
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl<const N: usize> TryFrom<ControlValue> for [bool; N]
impl<const N: usize> TryFrom<ControlValue> for [bool; N]
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl<const N: usize> TryFrom<ControlValue> for [f32; N]
impl<const N: usize> TryFrom<ControlValue> for [f32; N]
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl<const N: usize> TryFrom<ControlValue> for [i32; N]
impl<const N: usize> TryFrom<ControlValue> for [i32; N]
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl<const N: usize> TryFrom<ControlValue> for [i64; N]
impl<const N: usize> TryFrom<ControlValue> for [i64; N]
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl<const N: usize> TryFrom<ControlValue> for [u8; N]
impl<const N: usize> TryFrom<ControlValue> for [u8; N]
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for AeConstraintMode
impl TryFrom<ControlValue> for AeConstraintMode
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for AeEnable
impl TryFrom<ControlValue> for AeEnable
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for AeExposureMode
impl TryFrom<ControlValue> for AeExposureMode
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for AeLocked
impl TryFrom<ControlValue> for AeLocked
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for AeMeteringMode
impl TryFrom<ControlValue> for AeMeteringMode
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for AePrecaptureTrigger
impl TryFrom<ControlValue> for AePrecaptureTrigger
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for AeState
impl TryFrom<ControlValue> for AeState
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for AfMetering
impl TryFrom<ControlValue> for AfMetering
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for AfMode
impl TryFrom<ControlValue> for AfMode
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for AfPause
impl TryFrom<ControlValue> for AfPause
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for AfPauseState
impl TryFrom<ControlValue> for AfPauseState
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for AfRange
impl TryFrom<ControlValue> for AfRange
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for AfSpeed
impl TryFrom<ControlValue> for AfSpeed
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for AfState
impl TryFrom<ControlValue> for AfState
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for AfTrigger
impl TryFrom<ControlValue> for AfTrigger
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for AfWindows
impl TryFrom<ControlValue> for AfWindows
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for AnalogueGain
impl TryFrom<ControlValue> for AnalogueGain
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for AwbEnable
impl TryFrom<ControlValue> for AwbEnable
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for AwbLocked
impl TryFrom<ControlValue> for AwbLocked
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for AwbMode
impl TryFrom<ControlValue> for AwbMode
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for AwbState
impl TryFrom<ControlValue> for AwbState
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for Brightness
impl TryFrom<ControlValue> for Brightness
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for ColorCorrectionAberrationMode
impl TryFrom<ControlValue> for ColorCorrectionAberrationMode
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for ColorFilterArrangement
impl TryFrom<ControlValue> for ColorFilterArrangement
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for ColourCorrectionMatrix
impl TryFrom<ControlValue> for ColourCorrectionMatrix
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for ColourGains
impl TryFrom<ControlValue> for ColourGains
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for ColourTemperature
impl TryFrom<ControlValue> for ColourTemperature
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for Contrast
impl TryFrom<ControlValue> for Contrast
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for DigitalGain
impl TryFrom<ControlValue> for DigitalGain
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for ExposureTime
impl TryFrom<ControlValue> for ExposureTime
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for ExposureValue
impl TryFrom<ControlValue> for ExposureValue
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for FocusFoM
impl TryFrom<ControlValue> for FocusFoM
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for FrameDuration
impl TryFrom<ControlValue> for FrameDuration
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for FrameDurationLimits
impl TryFrom<ControlValue> for FrameDurationLimits
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for LensPosition
impl TryFrom<ControlValue> for LensPosition
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for LensShadingMapMode
impl TryFrom<ControlValue> for LensShadingMapMode
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for Location
impl TryFrom<ControlValue> for Location
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for Lux
impl TryFrom<ControlValue> for Lux
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for MaxLatency
impl TryFrom<ControlValue> for MaxLatency
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for Model
impl TryFrom<ControlValue> for Model
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for NoiseReductionMode
impl TryFrom<ControlValue> for NoiseReductionMode
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for PipelineDepth
impl TryFrom<ControlValue> for PipelineDepth
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for PixelArrayActiveAreas
impl TryFrom<ControlValue> for PixelArrayActiveAreas
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for PixelArrayOpticalBlackRectangles
impl TryFrom<ControlValue> for PixelArrayOpticalBlackRectangles
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for PixelArraySize
impl TryFrom<ControlValue> for PixelArraySize
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for Rectangle
impl TryFrom<ControlValue> for Rectangle
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for Rotation
impl TryFrom<ControlValue> for Rotation
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for Saturation
impl TryFrom<ControlValue> for Saturation
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for ScalerCrop
impl TryFrom<ControlValue> for ScalerCrop
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for ScalerCropMaximum
impl TryFrom<ControlValue> for ScalerCropMaximum
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for SceneFlicker
impl TryFrom<ControlValue> for SceneFlicker
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for SensorBlackLevels
impl TryFrom<ControlValue> for SensorBlackLevels
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for SensorRollingShutterSkew
impl TryFrom<ControlValue> for SensorRollingShutterSkew
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for SensorSensitivity
impl TryFrom<ControlValue> for SensorSensitivity
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for SensorTemperature
impl TryFrom<ControlValue> for SensorTemperature
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for SensorTimestamp
impl TryFrom<ControlValue> for SensorTimestamp
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for Sharpness
impl TryFrom<ControlValue> for Sharpness
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for Size
impl TryFrom<ControlValue> for Size
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for String
impl TryFrom<ControlValue> for String
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for SystemDevices
impl TryFrom<ControlValue> for SystemDevices
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for TestPatternMode
impl TryFrom<ControlValue> for TestPatternMode
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for UnitCellSize
impl TryFrom<ControlValue> for UnitCellSize
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for Vec<Rectangle>
impl TryFrom<ControlValue> for Vec<Rectangle>
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for Vec<Size>
impl TryFrom<ControlValue> for Vec<Size>
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for Vec<bool>
impl TryFrom<ControlValue> for Vec<bool>
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for Vec<f32>
impl TryFrom<ControlValue> for Vec<f32>
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for Vec<i32>
impl TryFrom<ControlValue> for Vec<i32>
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for Vec<i64>
impl TryFrom<ControlValue> for Vec<i64>
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for Vec<u8>
impl TryFrom<ControlValue> for Vec<u8>
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for bool
impl TryFrom<ControlValue> for bool
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for f32
impl TryFrom<ControlValue> for f32
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for i32
impl TryFrom<ControlValue> for i32
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for i64
impl TryFrom<ControlValue> for i64
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<ControlValue> for u8
impl TryFrom<ControlValue> for u8
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ControlValue
impl RefUnwindSafe for ControlValue
impl Send for ControlValue
impl Sync for ControlValue
impl Unpin for ControlValue
impl UnwindSafe for ControlValue
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
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)