Enum ctru::services::cam::OutputFormat
source · #[repr(u8)]pub enum OutputFormat {
Yuv422 = 0,
Rgb565 = 1,
}
Expand description
Image output format.
See Camera::set_output_format()
to learn how to use this.
Variants§
Yuv422 = 0
YUV422 output format. 16 bits per pixel.
Rgb565 = 1
RGB565 output format. 16 bits per pixel.
Trait Implementations§
source§impl Clone for OutputFormat
impl Clone for OutputFormat
source§fn clone(&self) -> OutputFormat
fn clone(&self) -> OutputFormat
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OutputFormat
impl Debug for OutputFormat
source§impl From<OutputFormat> for CAMU_OutputFormat
impl From<OutputFormat> for CAMU_OutputFormat
source§fn from(v: OutputFormat) -> Self
fn from(v: OutputFormat) -> Self
Converts to this type from the input type.
source§impl PartialEq for OutputFormat
impl PartialEq for OutputFormat
source§impl TryFrom<FramebufferFormat> for OutputFormat
impl TryFrom<FramebufferFormat> for OutputFormat
source§impl TryFrom<OutputFormat> for FramebufferFormat
impl TryFrom<OutputFormat> for FramebufferFormat
impl Copy for OutputFormat
impl Eq for OutputFormat
impl StructuralPartialEq for OutputFormat
Auto Trait Implementations§
impl RefUnwindSafe for OutputFormat
impl Send for OutputFormat
impl Sync for OutputFormat
impl Unpin for OutputFormat
impl UnwindSafe for OutputFormat
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more