#[repr(transparent)]pub struct CAClockMessage(pub u32);
Expand description
The messages sent to a CAClockListenerProc to notify the client of changes to the clock’s state.
A new start time was set or received from an external sync source.
The clock’s time has started moving.
The clock’s time has stopped moving.
The client has called CAClockArm().
The client has called CAClockDisarm().
A clock property has been changed.
The clock is receiving SMPTE (MTC) messages in a SMPTE format that does not match the clock’s SMPTE format.
See also Apple’s documentation
Tuple Fields§
§0: u32
Implementations§
Source§impl CAClockMessage
impl CAClockMessage
pub const StartTimeSet: Self
pub const Started: Self
pub const Stopped: Self
pub const Armed: Self
pub const Disarmed: Self
pub const PropertyChanged: Self
pub const WrongSMPTEFormat: Self
Trait Implementations§
Source§impl Clone for CAClockMessage
impl Clone for CAClockMessage
Source§fn clone(&self) -> CAClockMessage
fn clone(&self) -> CAClockMessage
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 CAClockMessage
impl Debug for CAClockMessage
Source§impl Encode for CAClockMessage
impl Encode for CAClockMessage
Source§impl Hash for CAClockMessage
impl Hash for CAClockMessage
Source§impl Ord for CAClockMessage
impl Ord for CAClockMessage
Source§fn cmp(&self, other: &CAClockMessage) -> Ordering
fn cmp(&self, other: &CAClockMessage) -> 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 CAClockMessage
impl PartialEq for CAClockMessage
Source§impl PartialOrd for CAClockMessage
impl PartialOrd for CAClockMessage
Source§impl RefEncode for CAClockMessage
impl RefEncode for CAClockMessage
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 CAClockMessage
impl Eq for CAClockMessage
impl StructuralPartialEq for CAClockMessage
Auto Trait Implementations§
impl Freeze for CAClockMessage
impl RefUnwindSafe for CAClockMessage
impl Send for CAClockMessage
impl Sync for CAClockMessage
impl Unpin for CAClockMessage
impl UnwindSafe for CAClockMessage
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.