[][src]Struct v4l::control::Description

pub struct Description {
    pub id: u32,
    pub typ: Type,
    pub name: String,
    pub minimum: i32,
    pub maximum: i32,
    pub step: i32,
    pub default: i32,
    pub flags: Flags,
    pub items: Option<Vec<(u32, MenuItem)>>,
}

Device control description

Fields

id: u32

Control identifier, set by the the application

typ: Type

Type of control

name: String

Name of the control, intended for the user

minimum: i32

Minimum value, inclusive

maximum: i32

Maximum value, inclusive

step: i32

Step size, always positive

default: i32

Default value

flags: Flags

Control flags

items: Option<Vec<(u32, MenuItem)>>

Items for menu controls (only valid if typ is a menu type)

Trait Implementations

impl Debug for Description[src]

impl Display for Description[src]

impl From<v4l2_queryctrl> for Description[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.