#[repr(i32)]pub enum AfRange {
Normal = 0,
Macro = 1,
Full = 2,
}
Expand description
Control to set the range of focus distances that is scanned. An implementation may choose not to implement all the options here.
Variants§
Normal = 0
A wide range of focus distances is scanned, all the way from infinity down to close distances, though depending on the implementation, possibly not including the very closest macro positions.
Macro = 1
Only close distances are scanned.
Full = 2
The full range of focus distances is scanned just as with AfRangeNormal but this time including the very closest macro positions.
Trait Implementations§
source§impl From<AfRange> for ControlValue
impl From<AfRange> for ControlValue
source§impl TryFrom<ControlValue> for AfRange
impl TryFrom<ControlValue> for AfRange
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
impl Control for AfRange
impl Copy for AfRange
impl Eq for AfRange
impl StructuralPartialEq for AfRange
Auto Trait Implementations§
impl Freeze for AfRange
impl RefUnwindSafe for AfRange
impl Send for AfRange
impl Sync for AfRange
impl Unpin for AfRange
impl UnwindSafe for AfRange
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)