Enum ctru::services::cam::WhiteBalance
source · #[repr(u8)]pub enum WhiteBalance {
Auto = 0,
Temp3200K = 1,
Temp4150K = 2,
Temp5200K = 3,
Temp6000K = 4,
Temp7000K = 5,
}
Expand description
White balance settings.
See Camera::set_white_balance()
to learn how to use this.
Variants§
Auto = 0
Automatic white balance.
Temp3200K = 1
Tungsten.
Temp4150K = 2
Fluorescent Light.
Temp5200K = 3
Daylight.
Temp6000K = 4
Cloudy/Horizon.
Temp7000K = 5
Shade.
Trait Implementations§
source§impl Clone for WhiteBalance
impl Clone for WhiteBalance
source§fn clone(&self) -> WhiteBalance
fn clone(&self) -> WhiteBalance
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WhiteBalance
impl Debug for WhiteBalance
source§impl From<WhiteBalance> for CAMU_WhiteBalance
impl From<WhiteBalance> for CAMU_WhiteBalance
source§fn from(v: WhiteBalance) -> Self
fn from(v: WhiteBalance) -> Self
Converts to this type from the input type.
source§impl PartialEq for WhiteBalance
impl PartialEq for WhiteBalance
impl Copy for WhiteBalance
impl Eq for WhiteBalance
impl StructuralPartialEq for WhiteBalance
Auto Trait Implementations§
impl RefUnwindSafe for WhiteBalance
impl Send for WhiteBalance
impl Sync for WhiteBalance
impl Unpin for WhiteBalance
impl UnwindSafe for WhiteBalance
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more