[−][src]Struct v4l::control::Description
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]
fn from(ctrl: v4l2_queryctrl) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for Description
impl Send for Description
impl Sync for Description
impl Unpin for Description
impl UnwindSafe for Description
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,