#[repr(transparent)]pub struct CAClockTimebase(pub u32);
Expand description
The available internal hardware time references for a clock.
The clock’s reference time is host time (as returned
by
mach_absolute_time()
or
HostTime()
).
The clock’s reference time is derived from an audio device.
The clock’s reference time is derived from the audio device addressed by an output Audio Unit.
See also Apple’s documentation
Tuple Fields§
§0: u32
Implementations§
Source§impl CAClockTimebase
impl CAClockTimebase
pub const HostTime: Self
pub const AudioDevice: Self
pub const AudioOutputUnit: Self
Trait Implementations§
Source§impl Clone for CAClockTimebase
impl Clone for CAClockTimebase
Source§fn clone(&self) -> CAClockTimebase
fn clone(&self) -> CAClockTimebase
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 CAClockTimebase
impl Debug for CAClockTimebase
Source§impl Encode for CAClockTimebase
impl Encode for CAClockTimebase
Source§impl Hash for CAClockTimebase
impl Hash for CAClockTimebase
Source§impl Ord for CAClockTimebase
impl Ord for CAClockTimebase
Source§fn cmp(&self, other: &CAClockTimebase) -> Ordering
fn cmp(&self, other: &CAClockTimebase) -> 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 CAClockTimebase
impl PartialEq for CAClockTimebase
Source§impl PartialOrd for CAClockTimebase
impl PartialOrd for CAClockTimebase
Source§impl RefEncode for CAClockTimebase
impl RefEncode for CAClockTimebase
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 CAClockTimebase
impl Eq for CAClockTimebase
impl StructuralPartialEq for CAClockTimebase
Auto Trait Implementations§
impl Freeze for CAClockTimebase
impl RefUnwindSafe for CAClockTimebase
impl Send for CAClockTimebase
impl Sync for CAClockTimebase
impl Unpin for CAClockTimebase
impl UnwindSafe for CAClockTimebase
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.