#[repr(i32)]pub enum AfPauseState {
Running = 0,
Pausing = 1,
Paused = 2,
}
Expand description
Report whether the autofocus is currently running, paused or pausing.
This control is only applicable in continuous (AfModeContinuous) mode, and reports whether the algorithm is currently running, paused or pausing (that is, will pause as soon as any in-progress scan completes).
Any change to AfMode will cause AfPauseStateRunning to be reported.
Variants§
Running = 0
Continuous AF is running and the algorithm may restart a scan spontaneously.
Pausing = 1
Continuous AF has been sent an AfPauseDeferred control, and will pause as soon as any in-progress scan completes.
When the scan completes, the AfPauseState control will report AfPauseStatePaused. No new scans will be start spontaneously until the AfPauseResume control is sent.
Paused = 2
Continuous AF is paused.
No further state changes or lens movements will occur until the AfPauseResume control is sent.
Trait Implementations§
Source§impl Clone for AfPauseState
impl Clone for AfPauseState
Source§fn clone(&self) -> AfPauseState
fn clone(&self) -> AfPauseState
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more