pub struct Metadata {
pub bytesused: u32,
pub flags: Flags,
pub field: u32,
pub timestamp: Timestamp,
pub sequence: u32,
}
Expand description
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 Copy for Metadata
Auto Trait Implementations§
impl Freeze for Metadata
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)