#[repr(transparent)]pub struct AVCaptureExposureMode(pub NSInteger);Available on crate feature
AVCaptureDevice only.Expand description
Constants indicating the mode of the exposure on the receiver’s device, if it has adjustable exposure.
Indicates that the exposure should be locked at its current value.
Indicates that the device should automatically adjust exposure once and then change the exposure mode to AVCaptureExposureModeLocked.
Indicates that the device should automatically adjust exposure when needed.
Indicates that the device should only adjust exposure according to user provided ISO, exposureDuration values.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl AVCaptureExposureMode
impl AVCaptureExposureMode
pub const Locked: Self
pub const AutoExpose: Self
pub const ContinuousAutoExposure: Self
pub const Custom: Self
Trait Implementations§
Source§impl Clone for AVCaptureExposureMode
impl Clone for AVCaptureExposureMode
Source§fn clone(&self) -> AVCaptureExposureMode
fn clone(&self) -> AVCaptureExposureMode
Returns a duplicate 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 AVCaptureExposureMode
impl Debug for AVCaptureExposureMode
Source§impl Encode for AVCaptureExposureMode
impl Encode for AVCaptureExposureMode
Source§impl Hash for AVCaptureExposureMode
impl Hash for AVCaptureExposureMode
Source§impl Ord for AVCaptureExposureMode
impl Ord for AVCaptureExposureMode
Source§fn cmp(&self, other: &AVCaptureExposureMode) -> Ordering
fn cmp(&self, other: &AVCaptureExposureMode) -> 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 PartialEq for AVCaptureExposureMode
impl PartialEq for AVCaptureExposureMode
Source§impl PartialOrd for AVCaptureExposureMode
impl PartialOrd for AVCaptureExposureMode
Source§impl RefEncode for AVCaptureExposureMode
impl RefEncode for AVCaptureExposureMode
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 AVCaptureExposureMode
impl Eq for AVCaptureExposureMode
impl StructuralPartialEq for AVCaptureExposureMode
Auto Trait Implementations§
impl Freeze for AVCaptureExposureMode
impl RefUnwindSafe for AVCaptureExposureMode
impl Send for AVCaptureExposureMode
impl Sync for AVCaptureExposureMode
impl Unpin for AVCaptureExposureMode
impl UnwindSafe for AVCaptureExposureMode
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.