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