#[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: __u32§type_: __u32§bytesused: __u32§flags: __u32§field: __u32§timestamp: timeval§timecode: v4l2_timecode§sequence: __u32§memory: __u32§m: v4l2_buffer__bindgen_ty_1§length: __u32§reserved2: __u32§__bindgen_anon_1: v4l2_buffer__bindgen_ty_2Trait Implementations§
Source§impl Clone for v4l2_buffer
impl Clone for v4l2_buffer
Source§fn clone(&self) -> v4l2_buffer
fn clone(&self) -> v4l2_buffer
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for v4l2_buffer
Auto Trait Implementations§
impl Freeze for v4l2_buffer
impl RefUnwindSafe for v4l2_buffer
impl !Send for v4l2_buffer
impl !Sync for v4l2_buffer
impl Unpin for v4l2_buffer
impl UnwindSafe for v4l2_buffer
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