Struct v4l2_sys::v4l2_buffer

source ·
#[repr(C)]
pub struct v4l2_buffer {
Show 13 fields pub index: __u32, pub type_: __u32, pub bytesused: __u32, pub flags: __u32, pub field: __u32, pub timestamp: timeval, pub timecode: v4l2_timecode, pub sequence: __u32, pub memory: __u32, pub m: v4l2_buffer__bindgen_ty_1, pub length: __u32, pub reserved2: __u32, pub __bindgen_anon_1: v4l2_buffer__bindgen_ty_2,
}

Fields

index: __u32type_: __u32bytesused: __u32flags: __u32field: __u32timestamp: timevaltimecode: v4l2_timecodesequence: __u32memory: __u32m: v4l2_buffer__bindgen_ty_1length: __u32reserved2: __u32__bindgen_anon_1: v4l2_buffer__bindgen_ty_2

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.