#[repr(transparent)]pub struct AVCapturePhotoOutputCaptureReadiness(pub NSInteger);Available on crate feature
AVCapturePhotoOutput only.Expand description
Constants indicating whether the output is ready to receive capture requests.
Indicates that the session is not running and the output is not ready to receive requests.
Indicates that the output is ready to receive new requests.
Indicates that the output is not ready to receive requests and may be ready shortly.
Indicates that the output is not ready to receive requests for a longer duration because it is busy capturing.
Indicates that the output is not ready to receive requests for a longer duration because it is busy processing.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl AVCapturePhotoOutputCaptureReadiness
impl AVCapturePhotoOutputCaptureReadiness
pub const SessionNotRunning: Self
pub const Ready: Self
pub const NotReadyMomentarily: Self
pub const NotReadyWaitingForCapture: Self
pub const NotReadyWaitingForProcessing: Self
Trait Implementations§
Source§impl Clone for AVCapturePhotoOutputCaptureReadiness
impl Clone for AVCapturePhotoOutputCaptureReadiness
Source§fn clone(&self) -> AVCapturePhotoOutputCaptureReadiness
fn clone(&self) -> AVCapturePhotoOutputCaptureReadiness
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 Ord for AVCapturePhotoOutputCaptureReadiness
impl Ord for AVCapturePhotoOutputCaptureReadiness
Source§fn cmp(&self, other: &AVCapturePhotoOutputCaptureReadiness) -> Ordering
fn cmp(&self, other: &AVCapturePhotoOutputCaptureReadiness) -> 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 AVCapturePhotoOutputCaptureReadiness
impl PartialEq for AVCapturePhotoOutputCaptureReadiness
Source§fn eq(&self, other: &AVCapturePhotoOutputCaptureReadiness) -> bool
fn eq(&self, other: &AVCapturePhotoOutputCaptureReadiness) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AVCapturePhotoOutputCaptureReadiness
impl PartialOrd for AVCapturePhotoOutputCaptureReadiness
Source§impl RefEncode for AVCapturePhotoOutputCaptureReadiness
impl RefEncode for AVCapturePhotoOutputCaptureReadiness
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 AVCapturePhotoOutputCaptureReadiness
impl Eq for AVCapturePhotoOutputCaptureReadiness
impl StructuralPartialEq for AVCapturePhotoOutputCaptureReadiness
Auto Trait Implementations§
impl Freeze for AVCapturePhotoOutputCaptureReadiness
impl RefUnwindSafe for AVCapturePhotoOutputCaptureReadiness
impl Send for AVCapturePhotoOutputCaptureReadiness
impl Sync for AVCapturePhotoOutputCaptureReadiness
impl Unpin for AVCapturePhotoOutputCaptureReadiness
impl UnwindSafe for AVCapturePhotoOutputCaptureReadiness
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.