[−][src]Trait v4l::buffer::Buffer
Represents a host (allocated) or device (mapped) buffer
Required methods
fn data(&self) -> &[u8]
Slice of read-only data
fn len(&self) -> usize
Size of the backing memory region
fn is_empty(&self) -> bool
Whether the backing buffer is empty
fn meta(&self) -> &Metadata
Metadata such as allocation flags, timestamp and more