Enum linux_video_core::AutoFocusRange
source · #[non_exhaustive]#[repr(u32)]pub enum AutoFocusRange {
Auto,
Normal,
Macro,
Infinity,
}
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.
Methods from Deref<Target = u32>§
pub const MIN: u32 = 0u32
pub const MAX: u32 = 4_294_967_295u32
pub const BITS: u32 = 32u32
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<AutoFocusRange> for AutoFocusRange
impl PartialEq<AutoFocusRange> for AutoFocusRange
source§fn eq(&self, other: &AutoFocusRange) -> bool
fn eq(&self, other: &AutoFocusRange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for AutoFocusRange
impl TryFrom<u32> for AutoFocusRange
impl Copy for AutoFocusRange
impl Eq for AutoFocusRange
impl StructuralEq for AutoFocusRange
impl StructuralPartialEq for AutoFocusRange
Auto Trait Implementations§
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