Struct windows_sys::Media::Devices::ManualFocusDistance
[−]#[repr(transparent)]pub struct ManualFocusDistance(pub i32);
Expand description
Required features: "Media_Devices"
Tuple Fields
0: i32
Implementations
impl ManualFocusDistance
impl ManualFocusDistance
pub const Infinity: Self = Self(0i32)
pub const Hyperfocal: Self = Self(1i32)
pub const Nearest: Self = Self(2i32)
Trait Implementations
impl Clone for ManualFocusDistance
impl Clone for ManualFocusDistance
impl Copy for ManualFocusDistance
Auto Trait Implementations
impl RefUnwindSafe for ManualFocusDistance
impl Send for ManualFocusDistance
impl Sync for ManualFocusDistance
impl Unpin for ManualFocusDistance
impl UnwindSafe for ManualFocusDistance
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