#[repr(i32)]pub enum AwbMode {
AwbAuto = 0,
AwbIncandescent = 1,
AwbTungsten = 2,
AwbFluorescent = 3,
AwbIndoor = 4,
AwbDaylight = 5,
AwbCloudy = 6,
AwbCustom = 7,
}
Expand description
Specify the range of illuminants to use for the AWB algorithm. The modes supported are platform specific, and not all modes may be supported.
Variants§
AwbAuto = 0
Search over the whole colour temperature range.
AwbIncandescent = 1
Incandescent AWB lamp mode.
AwbTungsten = 2
Tungsten AWB lamp mode.
AwbFluorescent = 3
Fluorescent AWB lamp mode.
AwbIndoor = 4
Indoor AWB lighting mode.
AwbDaylight = 5
Daylight AWB lighting mode.
AwbCloudy = 6
Cloudy AWB lighting mode.
AwbCustom = 7
Custom AWB mode.
Trait Implementations§
source§impl From<AwbMode> for ControlValue
impl From<AwbMode> for ControlValue
source§impl TryFrom<ControlValue> for AwbMode
impl TryFrom<ControlValue> for AwbMode
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
impl Control for AwbMode
impl Copy for AwbMode
impl Eq for AwbMode
impl StructuralPartialEq for AwbMode
Auto Trait Implementations§
impl Freeze for AwbMode
impl RefUnwindSafe for AwbMode
impl Send for AwbMode
impl Sync for AwbMode
impl Unpin for AwbMode
impl UnwindSafe for AwbMode
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
)