#[repr(transparent)]pub struct AVCaptureTimecodeSourceType(pub NSInteger);Available on crate feature
AVCaptureTimecodeGenerator only.Expand description
Defines possible sources for generating timecode in using a timecode generator.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl AVCaptureTimecodeSourceType
impl AVCaptureTimecodeSourceType
Sourcepub const FrameCount: Self
pub const FrameCount: Self
No internal or external source is adopted. Timecodes are zero-based, sequentially generated frame counts.
Sourcepub const RealTimeClock: Self
pub const RealTimeClock: Self
Synchronizes timecode to the system clock for real-time applications. Useful for live events or scenarios requiring alignment with the actual time of day.
Trait Implementations§
Source§impl Clone for AVCaptureTimecodeSourceType
impl Clone for AVCaptureTimecodeSourceType
Source§fn clone(&self) -> AVCaptureTimecodeSourceType
fn clone(&self) -> AVCaptureTimecodeSourceType
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 AVCaptureTimecodeSourceType
impl Debug for AVCaptureTimecodeSourceType
Source§impl Encode for AVCaptureTimecodeSourceType
impl Encode for AVCaptureTimecodeSourceType
Source§impl Hash for AVCaptureTimecodeSourceType
impl Hash for AVCaptureTimecodeSourceType
Source§impl Ord for AVCaptureTimecodeSourceType
impl Ord for AVCaptureTimecodeSourceType
Source§fn cmp(&self, other: &AVCaptureTimecodeSourceType) -> Ordering
fn cmp(&self, other: &AVCaptureTimecodeSourceType) -> 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 AVCaptureTimecodeSourceType
impl PartialOrd for AVCaptureTimecodeSourceType
Source§impl RefEncode for AVCaptureTimecodeSourceType
impl RefEncode for AVCaptureTimecodeSourceType
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 AVCaptureTimecodeSourceType
impl Eq for AVCaptureTimecodeSourceType
impl StructuralPartialEq for AVCaptureTimecodeSourceType
Auto Trait Implementations§
impl Freeze for AVCaptureTimecodeSourceType
impl RefUnwindSafe for AVCaptureTimecodeSourceType
impl Send for AVCaptureTimecodeSourceType
impl Sync for AVCaptureTimecodeSourceType
impl Unpin for AVCaptureTimecodeSourceType
impl UnwindSafe for AVCaptureTimecodeSourceType
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.