#[non_exhaustive]#[repr(u32)]pub enum ExposureAutoType {
Auto = 0,
Manual = 1,
ShutterPriority = 2,
AperturePriority = 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 ExposureAutoType
impl AsRef<u32> for ExposureAutoType
Source§impl Clone for ExposureAutoType
impl Clone for ExposureAutoType
Source§fn clone(&self) -> ExposureAutoType
fn clone(&self) -> ExposureAutoType
Returns a duplicate 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 ExposureAutoType
impl Debug for ExposureAutoType
Source§impl Deref for ExposureAutoType
impl Deref for ExposureAutoType
Source§impl Display for ExposureAutoType
impl Display for ExposureAutoType
Source§impl From<ExposureAutoType> for u32
impl From<ExposureAutoType> for u32
Source§fn from(data: ExposureAutoType) -> Self
fn from(data: ExposureAutoType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ExposureAutoType
impl PartialEq for ExposureAutoType
Source§impl TryFrom<u32> for ExposureAutoType
impl TryFrom<u32> for ExposureAutoType
impl Copy for ExposureAutoType
impl Eq for ExposureAutoType
impl StructuralPartialEq for ExposureAutoType
Auto Trait Implementations§
impl Freeze for ExposureAutoType
impl RefUnwindSafe for ExposureAutoType
impl Send for ExposureAutoType
impl Sync for ExposureAutoType
impl Unpin for ExposureAutoType
impl UnwindSafe for ExposureAutoType
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