pub struct Frame {
pub descriptor: FrameDescriptor,
pub pixels: Vec<u8>,
}Expand description
A resolved camera frame: the descriptor the engine published plus the pixel
bytes read out of the shared-memory ring it named. pixels.len() equals
descriptor.byte_len and is the valid pixel data for
descriptor.width x descriptor.height in descriptor.format.
Fields§
§descriptor: FrameDescriptor§pixels: Vec<u8>Trait Implementations§
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Frame
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