#[repr(i32)]pub enum AfSpeed {
Normal = 0,
Fast = 1,
}
Expand description
Control that determines whether the AF algorithm is to move the lens as quickly as possible or more steadily. For example, during video recording it may be desirable not to move the lens too abruptly, but when in a preview mode (waiting for a still capture) it may be helpful to move the lens as quickly as is reasonably possible.
Variants§
Trait Implementations§
source§impl From<AfSpeed> for ControlValue
impl From<AfSpeed> for ControlValue
source§impl TryFrom<ControlValue> for AfSpeed
impl TryFrom<ControlValue> for AfSpeed
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
impl Control for AfSpeed
impl Copy for AfSpeed
impl Eq for AfSpeed
impl StructuralPartialEq for AfSpeed
Auto Trait Implementations§
impl Freeze for AfSpeed
impl RefUnwindSafe for AfSpeed
impl Send for AfSpeed
impl Sync for AfSpeed
impl Unpin for AfSpeed
impl UnwindSafe for AfSpeed
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
)