#[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: u32Implementations§
Source§impl CAClockMessage
impl CAClockMessage
pub const StartTimeSet: CAClockMessage
pub const Started: CAClockMessage
pub const Stopped: CAClockMessage
pub const Armed: CAClockMessage
pub const Disarmed: CAClockMessage
pub const PropertyChanged: CAClockMessage
pub const WrongSMPTEFormat: CAClockMessage
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CAClockMessage
Source§impl Debug for CAClockMessage
impl Debug for CAClockMessage
Source§impl Encode for CAClockMessage
impl Encode for CAClockMessage
impl Eq 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 (const: unstable) · 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§fn eq(&self, other: &CAClockMessage) -> bool
fn eq(&self, other: &CAClockMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.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 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 UnsafeUnpin for CAClockMessage
impl UnwindSafe for CAClockMessage
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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.