Struct windows_sys::Media::Devices::FocusPreset
[−]#[repr(transparent)]pub struct FocusPreset(pub i32);
Expand description
Required features: "Media_Devices"
Tuple Fields
0: i32
Implementations
impl FocusPreset
impl FocusPreset
pub const Auto: Self = Self(0i32)
pub const Manual: Self = Self(1i32)
pub const AutoMacro: Self = Self(2i32)
pub const AutoNormal: Self = Self(3i32)
pub const AutoInfinity: Self = Self(4i32)
pub const AutoHyperfocal: Self = Self(5i32)
Trait Implementations
impl Clone for FocusPreset
impl Clone for FocusPreset
impl Copy for FocusPreset
Auto Trait Implementations
impl RefUnwindSafe for FocusPreset
impl Send for FocusPreset
impl Sync for FocusPreset
impl Unpin for FocusPreset
impl UnwindSafe for FocusPreset
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more