Struct v4l::control::Description
source · pub struct Description {
pub id: u32,
pub typ: Type,
pub name: String,
pub minimum: i64,
pub maximum: i64,
pub step: u64,
pub default: i64,
pub flags: Flags,
pub items: Option<Vec<(u32, MenuItem)>>,
}
Expand 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: i64
Minimum value, inclusive
maximum: i64
Maximum value, inclusive
step: u64
Step size, always positive
default: i64
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§
source§impl Debug for Description
impl Debug for Description
source§impl Display for Description
impl Display for Description
Auto Trait Implementations§
impl Freeze for Description
impl RefUnwindSafe for Description
impl Send for Description
impl Sync for Description
impl Unpin for Description
impl UnwindSafe for Description
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