Struct v4l::capability::Capabilities
source · pub struct Capabilities {
pub driver: String,
pub card: String,
pub bus: String,
pub version: (u8, u8, u8),
pub capabilities: Flags,
}
Expand description
Device capabilities
Fields§
§driver: String
Driver name, e.g. uvc for usb video class devices
card: String
Card name
bus: String
Bus name, e.g. USB or PCI
version: (u8, u8, u8)
Version number MAJOR.MINOR.PATCH
capabilities: Flags
Capability flags
Trait Implementations§
source§impl Debug for Capabilities
impl Debug for Capabilities
source§impl Display for Capabilities
impl Display for Capabilities
Auto Trait Implementations§
impl Freeze for Capabilities
impl RefUnwindSafe for Capabilities
impl Send for Capabilities
impl Sync for Capabilities
impl Unpin for Capabilities
impl UnwindSafe for Capabilities
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