#[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 duplicate 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
impl Copy for LensCorrection
impl Eq for LensCorrection
impl StructuralPartialEq for LensCorrection
Auto Trait Implementations§
impl Freeze for LensCorrection
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
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)