#[repr(i32)]pub enum AfSpeed {
Normal = 0,
Fast = 1,
}
Expand description
Determine whether the AF 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