pub enum CaptureFormat {
Mjpeg,
Yuyv,
Uyvy,
Nv12,
Rgb8,
H264,
Gray8,
}Expand description
Possible values for CaptureFormat.
Variants§
Mjpeg
The Mjpeg variant.
Yuyv
The Yuyv variant.
Uyvy
The Uyvy variant.
Nv12
The Nv12 variant.
Rgb8
The Rgb8 variant.
H264
The H264 variant.
Gray8
The Gray8 variant.
Trait Implementations§
Source§impl Clone for CaptureFormat
impl Clone for CaptureFormat
Source§fn clone(&self) -> CaptureFormat
fn clone(&self) -> CaptureFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CaptureFormat
Source§impl Debug for CaptureFormat
impl Debug for CaptureFormat
Source§impl<'de> Deserialize<'de> for CaptureFormat
impl<'de> Deserialize<'de> for CaptureFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CaptureFormat
Source§impl Hash for CaptureFormat
impl Hash for CaptureFormat
Source§impl PartialEq for CaptureFormat
impl PartialEq for CaptureFormat
Source§impl Serialize for CaptureFormat
impl Serialize for CaptureFormat
impl StructuralPartialEq for CaptureFormat
Source§impl TryFrom<PixelFormat> for CaptureFormat
impl TryFrom<PixelFormat> for CaptureFormat
Source§type Error = CameraError
type Error = CameraError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for CaptureFormat
impl RefUnwindSafe for CaptureFormat
impl Send for CaptureFormat
impl Sync for CaptureFormat
impl Unpin for CaptureFormat
impl UnsafeUnpin for CaptureFormat
impl UnwindSafe for CaptureFormat
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