#[repr(transparent)]pub struct CAClockSyncMode(pub u32);
Expand description
Specifies internal synchronization, or an external sync source type.
The clock is not driven by an external sync source.
The clock is driven by MIDI beat clock received from a CoreMIDI source endpoint.
The clock is driven by MIDI Time Code received from a CoreMIDI source endpoint.
See also Apple’s documentation
Tuple Fields§
§0: u32
Implementations§
Source§impl CAClockSyncMode
impl CAClockSyncMode
pub const Internal: Self
pub const MIDIClockTransport: Self
pub const MTCTransport: Self
Trait Implementations§
Source§impl Clone for CAClockSyncMode
impl Clone for CAClockSyncMode
Source§fn clone(&self) -> CAClockSyncMode
fn clone(&self) -> CAClockSyncMode
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 CAClockSyncMode
impl Debug for CAClockSyncMode
Source§impl Encode for CAClockSyncMode
impl Encode for CAClockSyncMode
Source§impl Hash for CAClockSyncMode
impl Hash for CAClockSyncMode
Source§impl Ord for CAClockSyncMode
impl Ord for CAClockSyncMode
Source§fn cmp(&self, other: &CAClockSyncMode) -> Ordering
fn cmp(&self, other: &CAClockSyncMode) -> 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 CAClockSyncMode
impl PartialEq for CAClockSyncMode
Source§impl PartialOrd for CAClockSyncMode
impl PartialOrd for CAClockSyncMode
Source§impl RefEncode for CAClockSyncMode
impl RefEncode for CAClockSyncMode
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 CAClockSyncMode
impl Eq for CAClockSyncMode
impl StructuralPartialEq for CAClockSyncMode
Auto Trait Implementations§
impl Freeze for CAClockSyncMode
impl RefUnwindSafe for CAClockSyncMode
impl Send for CAClockSyncMode
impl Sync for CAClockSyncMode
impl Unpin for CAClockSyncMode
impl UnwindSafe for CAClockSyncMode
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.