#[repr(i32)]pub enum AwbState {
Inactive = 0,
Searching = 1,
AwbConverged = 2,
AwbLocked = 3,
}
Expand description
Control to report the current AWB algorithm state. Currently identical to ANDROID_CONTROL_AWB_STATE.
Current state of the AWB algorithm.
Variants§
Inactive = 0
The AWB algorithm is inactive.
Searching = 1
The AWB algorithm has not converged yet.
AwbConverged = 2
The AWB algorithm has converged.
AwbLocked = 3
The AWB algorithm is locked.
Trait Implementations§
source§impl From<AwbState> for ControlValue
impl From<AwbState> for ControlValue
source§impl TryFrom<ControlValue> for AwbState
impl TryFrom<ControlValue> for AwbState
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
impl Control for AwbState
impl Copy for AwbState
impl Eq for AwbState
impl StructuralPartialEq for AwbState
Auto Trait Implementations§
impl Freeze for AwbState
impl RefUnwindSafe for AwbState
impl Send for AwbState
impl Sync for AwbState
impl Unpin for AwbState
impl UnwindSafe for AwbState
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
)