#[repr(transparent)]pub struct AVCaptureWhiteBalanceMode(pub NSInteger);Available on crate feature
AVCaptureDevice only.Expand description
Constants indicating the mode of the white balance on the receiver’s device, if it has adjustable white balance.
Indicates that the white balance should be locked at its current value.
Indicates that the device should automatically adjust white balance once and then change the white balance mode to AVCaptureWhiteBalanceModeLocked.
Indicates that the device should automatically adjust white balance when needed.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl AVCaptureWhiteBalanceMode
impl AVCaptureWhiteBalanceMode
pub const Locked: Self
pub const AutoWhiteBalance: Self
pub const ContinuousAutoWhiteBalance: Self
Trait Implementations§
Source§impl Clone for AVCaptureWhiteBalanceMode
impl Clone for AVCaptureWhiteBalanceMode
Source§fn clone(&self) -> AVCaptureWhiteBalanceMode
fn clone(&self) -> AVCaptureWhiteBalanceMode
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AVCaptureWhiteBalanceMode
impl Debug for AVCaptureWhiteBalanceMode
Source§impl Encode for AVCaptureWhiteBalanceMode
impl Encode for AVCaptureWhiteBalanceMode
Source§impl Hash for AVCaptureWhiteBalanceMode
impl Hash for AVCaptureWhiteBalanceMode
Source§impl Ord for AVCaptureWhiteBalanceMode
impl Ord for AVCaptureWhiteBalanceMode
Source§fn cmp(&self, other: &AVCaptureWhiteBalanceMode) -> Ordering
fn cmp(&self, other: &AVCaptureWhiteBalanceMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for AVCaptureWhiteBalanceMode
impl PartialOrd for AVCaptureWhiteBalanceMode
Source§impl RefEncode for AVCaptureWhiteBalanceMode
impl RefEncode for AVCaptureWhiteBalanceMode
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for AVCaptureWhiteBalanceMode
impl Eq for AVCaptureWhiteBalanceMode
impl StructuralPartialEq for AVCaptureWhiteBalanceMode
Auto Trait Implementations§
impl Freeze for AVCaptureWhiteBalanceMode
impl RefUnwindSafe for AVCaptureWhiteBalanceMode
impl Send for AVCaptureWhiteBalanceMode
impl Sync for AVCaptureWhiteBalanceMode
impl Unpin for AVCaptureWhiteBalanceMode
impl UnwindSafe for AVCaptureWhiteBalanceMode
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§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.