[][src]Struct v4l::buffer::Metadata

pub struct Metadata {
    pub bytesused: u32,
    pub flags: Flags,
    pub field: u32,
    pub timestamp: Timestamp,
    pub sequence: u32,
}

Buffer metadata, mostly used not to convolute the main buffer structs

Fields

bytesused: u32

Number of bytes occupied by the data in the buffer

flags: Flags

Buffer flags

field: u32

Indicates the field order of the image in the buffer.

timestamp: Timestamp

Time of capture (usually set by the driver)

sequence: u32

Sequence number, counting the frames

Trait Implementations

impl Clone for Metadata[src]

impl Copy for Metadata[src]

impl Default for Metadata[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.