#[non_exhaustive]#[repr(u32)]pub enum AutoFocusRange {
Auto = 0,
Normal = 1,
Macro = 2,
Infinity = 3,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl AsRef<u32> for AutoFocusRange
impl AsRef<u32> for AutoFocusRange
Source§impl Clone for AutoFocusRange
impl Clone for AutoFocusRange
Source§fn clone(&self) -> AutoFocusRange
fn clone(&self) -> AutoFocusRange
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 AutoFocusRange
impl Debug for AutoFocusRange
Source§impl Deref for AutoFocusRange
impl Deref for AutoFocusRange
Source§impl Display for AutoFocusRange
impl Display for AutoFocusRange
Source§impl From<AutoFocusRange> for u32
impl From<AutoFocusRange> for u32
Source§fn from(data: AutoFocusRange) -> Self
fn from(data: AutoFocusRange) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AutoFocusRange
impl PartialEq for AutoFocusRange
Source§impl TryFrom<u32> for AutoFocusRange
impl TryFrom<u32> for AutoFocusRange
impl Copy for AutoFocusRange
impl Eq for AutoFocusRange
impl StructuralPartialEq for AutoFocusRange
Auto Trait Implementations§
impl Freeze for AutoFocusRange
impl RefUnwindSafe for AutoFocusRange
impl Send for AutoFocusRange
impl Sync for AutoFocusRange
impl Unpin for AutoFocusRange
impl UnwindSafe for AutoFocusRange
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