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§

source§

impl ControlValue

source

pub fn ty(&self) -> u32

Trait Implementations§

source§

impl Clone for ControlValue

source§

fn clone(&self) -> ControlValue

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ControlValue

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<const N: usize, const M: usize> From<[[Rectangle; M]; N]> for ControlValue

source§

fn from(val: [[Rectangle; M]; N]) -> Self

Converts to this type from the input type.
source§

impl<const N: usize, const M: usize> From<[[Size; M]; N]> for ControlValue

source§

fn from(val: [[Size; M]; N]) -> Self

Converts to this type from the input type.
source§

impl<const N: usize, const M: usize> From<[[bool; M]; N]> for ControlValue

source§

fn from(val: [[bool; M]; N]) -> Self

Converts to this type from the input type.
source§

impl<const N: usize, const M: usize> From<[[f32; M]; N]> for ControlValue

source§

fn from(val: [[f32; M]; N]) -> Self

Converts to this type from the input type.
source§

impl<const N: usize, const M: usize> From<[[i32; M]; N]> for ControlValue

source§

fn from(val: [[i32; M]; N]) -> Self

Converts to this type from the input type.
source§

impl<const N: usize, const M: usize> From<[[i64; M]; N]> for ControlValue

source§

fn from(val: [[i64; M]; N]) -> Self

Converts to this type from the input type.
source§

impl<const N: usize, const M: usize> From<[[u8; M]; N]> for ControlValue

source§

fn from(val: [[u8; M]; N]) -> Self

Converts to this type from the input type.
source§

impl<const N: usize> From<[Rectangle; N]> for ControlValue

source§

fn from(val: [Rectangle; N]) -> Self

Converts to this type from the input type.
source§

impl<const N: usize> From<[Size; N]> for ControlValue

source§

fn from(val: [Size; N]) -> Self

Converts to this type from the input type.
source§

impl<const N: usize> From<[bool; N]> for ControlValue

source§

fn from(val: [bool; N]) -> Self

Converts to this type from the input type.
source§

impl<const N: usize> From<[f32; N]> for ControlValue

source§

fn from(val: [f32; N]) -> Self

Converts to this type from the input type.
source§

impl<const N: usize> From<[i32; N]> for ControlValue

source§

fn from(val: [i32; N]) -> Self

Converts to this type from the input type.
source§

impl<const N: usize> From<[i64; N]> for ControlValue

source§

fn from(val: [i64; N]) -> Self

Converts to this type from the input type.
source§

impl<const N: usize> From<[u8; N]> for ControlValue

source§

fn from(val: [u8; N]) -> Self

Converts to this type from the input type.
source§

impl From<AeConstraintMode> for ControlValue

source§

fn from(val: AeConstraintMode) -> Self

Converts to this type from the input type.
source§

impl From<AeEnable> for ControlValue

source§

fn from(val: AeEnable) -> Self

Converts to this type from the input type.
source§

impl From<AeExposureMode> for ControlValue

source§

fn from(val: AeExposureMode) -> Self

Converts to this type from the input type.
source§

impl From<AeLocked> for ControlValue

source§

fn from(val: AeLocked) -> Self

Converts to this type from the input type.
source§

impl From<AeMeteringMode> for ControlValue

source§

fn from(val: AeMeteringMode) -> Self

Converts to this type from the input type.
source§

impl From<AePrecaptureTrigger> for ControlValue

source§

fn from(val: AePrecaptureTrigger) -> Self

Converts to this type from the input type.
source§

impl From<AeState> for ControlValue

source§

fn from(val: AeState) -> Self

Converts to this type from the input type.
source§

impl From<AfMetering> for ControlValue

source§

fn from(val: AfMetering) -> Self

Converts to this type from the input type.
source§

impl From<AfMode> for ControlValue

source§

fn from(val: AfMode) -> Self

Converts to this type from the input type.
source§

impl From<AfPause> for ControlValue

source§

fn from(val: AfPause) -> Self

Converts to this type from the input type.
source§

impl From<AfPauseState> for ControlValue

source§

fn from(val: AfPauseState) -> Self

Converts to this type from the input type.
source§

impl From<AfRange> for ControlValue

source§

fn from(val: AfRange) -> Self

Converts to this type from the input type.
source§

impl From<AfSpeed> for ControlValue

source§

fn from(val: AfSpeed) -> Self

Converts to this type from the input type.
source§

impl From<AfState> for ControlValue

source§

fn from(val: AfState) -> Self

Converts to this type from the input type.
source§

impl From<AfTrigger> for ControlValue

source§

fn from(val: AfTrigger) -> Self

Converts to this type from the input type.
source§

impl From<AfWindows> for ControlValue

source§

fn from(val: AfWindows) -> Self

Converts to this type from the input type.
source§

impl From<AnalogueGain> for ControlValue

source§

fn from(val: AnalogueGain) -> Self

Converts to this type from the input type.
source§

impl From<AwbEnable> for ControlValue

source§

fn from(val: AwbEnable) -> Self

Converts to this type from the input type.
source§

impl From<AwbLocked> for ControlValue

source§

fn from(val: AwbLocked) -> Self

Converts to this type from the input type.
source§

impl From<AwbMode> for ControlValue

source§

fn from(val: AwbMode) -> Self

Converts to this type from the input type.
source§

impl From<AwbState> for ControlValue

source§

fn from(val: AwbState) -> Self

Converts to this type from the input type.
source§

impl From<Brightness> for ControlValue

source§

fn from(val: Brightness) -> Self

Converts to this type from the input type.
source§

impl From<ColorCorrectionAberrationMode> for ControlValue

source§

fn from(val: ColorCorrectionAberrationMode) -> Self

Converts to this type from the input type.
source§

impl From<ColorFilterArrangement> for ControlValue

source§

fn from(val: ColorFilterArrangement) -> Self

Converts to this type from the input type.
source§

impl From<ColourCorrectionMatrix> for ControlValue

source§

fn from(val: ColourCorrectionMatrix) -> Self

Converts to this type from the input type.
source§

impl From<ColourGains> for ControlValue

source§

fn from(val: ColourGains) -> Self

Converts to this type from the input type.
source§

impl From<ColourTemperature> for ControlValue

source§

fn from(val: ColourTemperature) -> Self

Converts to this type from the input type.
source§

impl From<Contrast> for ControlValue

source§

fn from(val: Contrast) -> Self

Converts to this type from the input type.
source§

impl From<DigitalGain> for ControlValue

source§

fn from(val: DigitalGain) -> Self

Converts to this type from the input type.
source§

impl From<ExposureTime> for ControlValue

source§

fn from(val: ExposureTime) -> Self

Converts to this type from the input type.
source§

impl From<ExposureValue> for ControlValue

source§

fn from(val: ExposureValue) -> Self

Converts to this type from the input type.
source§

impl From<FocusFoM> for ControlValue

source§

fn from(val: FocusFoM) -> Self

Converts to this type from the input type.
source§

impl From<FrameDuration> for ControlValue

source§

fn from(val: FrameDuration) -> Self

Converts to this type from the input type.
source§

impl From<FrameDurationLimits> for ControlValue

source§

fn from(val: FrameDurationLimits) -> Self

Converts to this type from the input type.
source§

impl From<LensPosition> for ControlValue

source§

fn from(val: LensPosition) -> Self

Converts to this type from the input type.
source§

impl From<LensShadingMapMode> for ControlValue

source§

fn from(val: LensShadingMapMode) -> Self

Converts to this type from the input type.
source§

impl From<Location> for ControlValue

source§

fn from(val: Location) -> Self

Converts to this type from the input type.
source§

impl From<Lux> for ControlValue

source§

fn from(val: Lux) -> Self

Converts to this type from the input type.
source§

impl From<MaxLatency> for ControlValue

source§

fn from(val: MaxLatency) -> Self

Converts to this type from the input type.
source§

impl From<Model> for ControlValue

source§

fn from(val: Model) -> Self

Converts to this type from the input type.
source§

impl From<NoiseReductionMode> for ControlValue

source§

fn from(val: NoiseReductionMode) -> Self

Converts to this type from the input type.
source§

impl From<PipelineDepth> for ControlValue

source§

fn from(val: PipelineDepth) -> Self

Converts to this type from the input type.
source§

impl From<PixelArrayActiveAreas> for ControlValue

source§

fn from(val: PixelArrayActiveAreas) -> Self

Converts to this type from the input type.
source§

impl From<PixelArrayOpticalBlackRectangles> for ControlValue

source§

fn from(val: PixelArrayOpticalBlackRectangles) -> Self

Converts to this type from the input type.
source§

impl From<PixelArraySize> for ControlValue

source§

fn from(val: PixelArraySize) -> Self

Converts to this type from the input type.
source§

impl From<Rectangle> for ControlValue

source§

fn from(val: Rectangle) -> Self

Converts to this type from the input type.
source§

impl From<Rotation> for ControlValue

source§

fn from(val: Rotation) -> Self

Converts to this type from the input type.
source§

impl From<Saturation> for ControlValue

source§

fn from(val: Saturation) -> Self

Converts to this type from the input type.
source§

impl From<ScalerCrop> for ControlValue

source§

fn from(val: ScalerCrop) -> Self

Converts to this type from the input type.
source§

impl From<ScalerCropMaximum> for ControlValue

source§

fn from(val: ScalerCropMaximum) -> Self

Converts to this type from the input type.
source§

impl From<SceneFlicker> for ControlValue

source§

fn from(val: SceneFlicker) -> Self

Converts to this type from the input type.
source§

impl From<SensorBlackLevels> for ControlValue

source§

fn from(val: SensorBlackLevels) -> Self

Converts to this type from the input type.
source§

impl From<SensorRollingShutterSkew> for ControlValue

source§

fn from(val: SensorRollingShutterSkew) -> Self

Converts to this type from the input type.
source§

impl From<SensorSensitivity> for ControlValue

source§

fn from(val: SensorSensitivity) -> Self

Converts to this type from the input type.
source§

impl From<SensorTemperature> for ControlValue

source§

fn from(val: SensorTemperature) -> Self

Converts to this type from the input type.
source§

impl From<SensorTimestamp> for ControlValue

source§

fn from(val: SensorTimestamp) -> Self

Converts to this type from the input type.
source§

impl From<Sharpness> for ControlValue

source§

fn from(val: Sharpness) -> Self

Converts to this type from the input type.
source§

impl From<Size> for ControlValue

source§

fn from(val: Size) -> Self

Converts to this type from the input type.
source§

impl From<String> for ControlValue

source§

fn from(val: String) -> Self

Converts to this type from the input type.
source§

impl From<TestPatternMode> for ControlValue

source§

fn from(val: TestPatternMode) -> Self

Converts to this type from the input type.
source§

impl From<UnitCellSize> for ControlValue

source§

fn from(val: UnitCellSize) -> Self

Converts to this type from the input type.
source§

impl From<Vec<Rectangle, Global>> for ControlValue

source§

fn from(val: Vec<Rectangle>) -> Self

Converts to this type from the input type.
source§

impl From<Vec<Size, Global>> for ControlValue

source§

fn from(val: Vec<Size>) -> Self

Converts to this type from the input type.
source§

impl From<Vec<bool, Global>> for ControlValue

source§

fn from(val: Vec<bool>) -> Self

Converts to this type from the input type.
source§

impl From<Vec<f32, Global>> for ControlValue

source§

fn from(val: Vec<f32>) -> Self

Converts to this type from the input type.
source§

impl From<Vec<i32, Global>> for ControlValue

source§

fn from(val: Vec<i32>) -> Self

Converts to this type from the input type.
source§

impl From<Vec<i64, Global>> for ControlValue

source§

fn from(val: Vec<i64>) -> Self

Converts to this type from the input type.
source§

impl From<Vec<u8, Global>> for ControlValue

source§

fn from(val: Vec<u8>) -> Self

Converts to this type from the input type.
source§

impl From<bool> for ControlValue

source§

fn from(val: bool) -> Self

Converts to this type from the input type.
source§

impl From<f32> for ControlValue

source§

fn from(val: f32) -> Self

Converts to this type from the input type.
source§

impl From<i32> for ControlValue

source§

fn from(val: i32) -> Self

Converts to this type from the input type.
source§

impl From<i64> for ControlValue

source§

fn from(val: i64) -> Self

Converts to this type from the input type.
source§

impl From<u8> for ControlValue

source§

fn from(val: u8) -> Self

Converts to this type from the input type.
source§

impl<const N: usize, const M: usize> TryFrom<ControlValue> for [[Rectangle; M]; N]

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<const N: usize, const M: usize> TryFrom<ControlValue> for [[Size; M]; N]

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<const N: usize, const M: usize> TryFrom<ControlValue> for [[bool; M]; N]

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<const N: usize, const M: usize> TryFrom<ControlValue> for [[f32; M]; N]

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<const N: usize, const M: usize> TryFrom<ControlValue> for [[i32; M]; N]

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<const N: usize, const M: usize> TryFrom<ControlValue> for [[i64; M]; N]

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<const N: usize, const M: usize> TryFrom<ControlValue> for [[u8; M]; N]

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<const N: usize> TryFrom<ControlValue> for [Rectangle; N]

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<const N: usize> TryFrom<ControlValue> for [Size; N]

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<const N: usize> TryFrom<ControlValue> for [bool; N]

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<const N: usize> TryFrom<ControlValue> for [f32; N]

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<const N: usize> TryFrom<ControlValue> for [i32; N]

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<const N: usize> TryFrom<ControlValue> for [i64; N]

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<const N: usize> TryFrom<ControlValue> for [u8; N]

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for AeConstraintMode

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for AeEnable

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for AeExposureMode

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for AeLocked

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for AeMeteringMode

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for AePrecaptureTrigger

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for AeState

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for AfMetering

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for AfMode

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for AfPause

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for AfPauseState

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for AfRange

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for AfSpeed

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for AfState

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for AfTrigger

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for AfWindows

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for AnalogueGain

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for AwbEnable

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for AwbLocked

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for AwbMode

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for AwbState

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for Brightness

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for ColorCorrectionAberrationMode

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for ColorFilterArrangement

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for ColourCorrectionMatrix

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for ColourGains

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for ColourTemperature

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for Contrast

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for DigitalGain

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for ExposureTime

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for ExposureValue

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for FocusFoM

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for FrameDuration

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for FrameDurationLimits

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for LensPosition

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for LensShadingMapMode

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for Location

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for Lux

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for MaxLatency

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for Model

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for NoiseReductionMode

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for PipelineDepth

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for PixelArrayActiveAreas

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for PixelArrayOpticalBlackRectangles

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for PixelArraySize

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for Rectangle

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for Rotation

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for Saturation

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for ScalerCrop

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for ScalerCropMaximum

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for SceneFlicker

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for SensorBlackLevels

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for SensorRollingShutterSkew

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for SensorSensitivity

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for SensorTemperature

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for SensorTimestamp

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for Sharpness

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for Size

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for String

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for TestPatternMode

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for UnitCellSize

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for Vec<Rectangle>

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for Vec<Size>

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for Vec<bool>

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for Vec<f32>

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for Vec<i32>

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for Vec<i64>

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for Vec<u8>

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for bool

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for f32

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for i32

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for i64

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<ControlValue> for u8

§

type Error = ControlValueError

The type returned in the event of a conversion error.
source§

fn try_from(value: ControlValue) -> Result<Self, Self::Error>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.