Enum ctru::services::cam::LensCorrection
source · #[repr(u8)]pub enum LensCorrection {
Off = 0,
Normal = 1,
Bright = 2,
}
Expand description
Lens correction settings.
See Camera::set_lens_correction()
to learn how to use this.
Variants§
Trait Implementations§
source§impl Clone for LensCorrection
impl Clone for LensCorrection
source§fn clone(&self) -> LensCorrection
fn clone(&self) -> LensCorrection
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 LensCorrection
impl Debug for LensCorrection
source§impl From<LensCorrection> for CAMU_LensCorrection
impl From<LensCorrection> for CAMU_LensCorrection
source§fn from(v: LensCorrection) -> Self
fn from(v: LensCorrection) -> Self
Converts to this type from the input type.
source§impl PartialEq for LensCorrection
impl PartialEq for LensCorrection
source§fn eq(&self, other: &LensCorrection) -> bool
fn eq(&self, other: &LensCorrection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LensCorrection
impl Eq for LensCorrection
impl StructuralPartialEq for LensCorrection
Auto Trait Implementations§
impl RefUnwindSafe for LensCorrection
impl Send for LensCorrection
impl Sync for LensCorrection
impl Unpin for LensCorrection
impl UnwindSafe for LensCorrection
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