#[repr(i32)]pub enum AwbMode {
AwbAuto,
AwbIncandescent,
AwbTungsten,
AwbFluorescent,
AwbIndoor,
AwbDaylight,
AwbCloudy,
AwbCustom,
}
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
Search over the whole colour temperature range.
AwbIncandescent
Incandescent AWB lamp mode.
AwbTungsten
Tungsten AWB lamp mode.
AwbFluorescent
Fluorescent AWB lamp mode.
AwbIndoor
Indoor AWB lighting mode.
AwbDaylight
Daylight AWB lighting mode.
AwbCloudy
Cloudy AWB lighting mode.
AwbCustom
Custom AWB mode.
Trait Implementations§
source§impl From<AwbMode> for ControlValue
impl From<AwbMode> for ControlValue
source§impl PartialEq<AwbMode> for AwbMode
impl PartialEq<AwbMode> for AwbMode
source§impl TryFrom<ControlValue> for AwbMode
impl TryFrom<ControlValue> for AwbMode
§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 StructuralEq for AwbMode
impl StructuralPartialEq for AwbMode
Auto Trait Implementations§
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