pub enum VideoPixelFormat {
RGB24,
YUY2,
NV12,
YUV420,
GRAY,
MJPEG,
Unsupported(u32),
}
Variants§
Trait Implementations§
§impl Clone for VideoPixelFormat
impl Clone for VideoPixelFormat
§fn clone(&self) -> VideoPixelFormat
fn clone(&self) -> VideoPixelFormat
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 more§impl Debug for VideoPixelFormat
impl Debug for VideoPixelFormat
§impl Hash for VideoPixelFormat
impl Hash for VideoPixelFormat
§impl PartialEq<VideoPixelFormat> for VideoPixelFormat
impl PartialEq<VideoPixelFormat> for VideoPixelFormat
§fn eq(&self, other: &VideoPixelFormat) -> bool
fn eq(&self, other: &VideoPixelFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for VideoPixelFormat
impl Eq for VideoPixelFormat
impl StructuralEq for VideoPixelFormat
impl StructuralPartialEq for VideoPixelFormat
Auto Trait Implementations§
impl RefUnwindSafe for VideoPixelFormat
impl Send for VideoPixelFormat
impl Sync for VideoPixelFormat
impl Unpin for VideoPixelFormat
impl UnwindSafe for VideoPixelFormat
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