#[repr(i32)]pub enum AeState {
Inactive = 0,
Searching = 1,
Converged = 2,
Locked = 3,
FlashRequired = 4,
Precapture = 5,
}
Expand description
Control to report the current AE algorithm state. Currently identical to ANDROID_CONTROL_AE_STATE.
Current state of the AE algorithm.
Variants§
Inactive = 0
The AE algorithm is inactive.
Searching = 1
The AE algorithm has not converged yet.
Converged = 2
The AE algorithm has converged.
Locked = 3
The AE algorithm is locked.
FlashRequired = 4
The AE algorithm would need a flash for good results
Precapture = 5
The AE algorithm has started a pre-capture metering session. \sa AePrecaptureTrigger
Trait Implementations§
source§impl From<AeState> for ControlValue
impl From<AeState> for ControlValue
source§impl TryFrom<ControlValue> for AeState
impl TryFrom<ControlValue> for AeState
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
impl Control for AeState
impl Copy for AeState
impl Eq for AeState
impl StructuralPartialEq for AeState
Auto Trait Implementations§
impl Freeze for AeState
impl RefUnwindSafe for AeState
impl Send for AeState
impl Sync for AeState
impl Unpin for AeState
impl UnwindSafe for AeState
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
)