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§

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<SystemDevices> for ControlValue

source§

fn from(val: SystemDevices) -> 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>> for ControlValue

source§

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

Converts to this type from the input type.
source§

impl From<Vec<Size>> for ControlValue

source§

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

Converts to this type from the input type.
source§

impl From<Vec<bool>> for ControlValue

source§

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

Converts to this type from the input type.
source§

impl From<Vec<f32>> for ControlValue

source§

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

Converts to this type from the input type.
source§

impl From<Vec<i32>> for ControlValue

source§

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

Converts to this type from the input type.
source§

impl From<Vec<i64>> for ControlValue

source§

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

Converts to this type from the input type.
source§

impl From<Vec<u8>> 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]

source§

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]

source§

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]

source§

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]

source§

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]

source§

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]

source§

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]

source§

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]

source§

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]

source§

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]

source§

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]

source§

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]

source§

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]

source§

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]

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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 SystemDevices

source§

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

source§

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

source§

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>

source§

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>

source§

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>

source§

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>

source§

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>

source§

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>

source§

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>

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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 T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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 T
where 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 T
where T: Clone,

source§

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 T
where U: Into<T>,

source§

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 T
where U: TryFrom<T>,

source§

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.