Struct video_frame_stream::VideoFrame
source · pub struct VideoFrame { /* private fields */ }
Implementations§
source§impl VideoFrame
impl VideoFrame
Container for raw video frame and associated format
sourcepub fn create(format: ImageFormat, step: usize) -> Self
pub fn create(format: ImageFormat, step: usize) -> Self
Generates a frame with specified format
.
step
is for diagonally shifting the checkerboard pattern.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VideoFrame
impl RefUnwindSafe for VideoFrame
impl Send for VideoFrame
impl Sync for VideoFrame
impl Unpin for VideoFrame
impl UnwindSafe for VideoFrame
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