pub enum FrameFormat {
Show 18 variants
Unknown,
Any,
Uncompressed,
Compressed,
YUYV,
UYVY,
RGB,
BGR,
MJPEG,
GRAY8,
GRAY16,
BY8,
BA81,
SGRBG8,
SGBRG8,
SRGGB8,
SBGGR8,
Count,
}
Expand description
Format of a frame
Variants§
Unknown
Any
Uncompressed
Compressed
YUYV
UYVY
RGB
BGR
MJPEG
GRAY8
GRAY16
BY8
BA81
SGRBG8
SGBRG8
SRGGB8
SBGGR8
Count
Trait Implementations§
Source§impl Clone for FrameFormat
impl Clone for FrameFormat
Source§fn clone(&self) -> FrameFormat
fn clone(&self) -> FrameFormat
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 moreSource§impl Debug for FrameFormat
impl Debug for FrameFormat
Source§impl From<u32> for FrameFormat
impl From<u32> for FrameFormat
Source§fn from(code: uvc_frame_format) -> Self
fn from(code: uvc_frame_format) -> Self
Converts to this type from the input type.
Source§impl Into<u32> for FrameFormat
impl Into<u32> for FrameFormat
Source§fn into(self: FrameFormat) -> uvc_frame_format
fn into(self: FrameFormat) -> uvc_frame_format
Converts this type into the (usually inferred) input type.
Source§impl PartialEq for FrameFormat
impl PartialEq for FrameFormat
impl Copy for FrameFormat
impl StructuralPartialEq for FrameFormat
Auto Trait Implementations§
impl Freeze for FrameFormat
impl RefUnwindSafe for FrameFormat
impl Send for FrameFormat
impl Sync for FrameFormat
impl Unpin for FrameFormat
impl UnwindSafe for FrameFormat
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