#[non_exhaustive]pub enum ClockSource {
ReferenceSignal,
SystemClock,
}Expand description
What paced a completed VideoClock::wait or AudioClock::wait.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ReferenceSignal
The reference source’s clock.
SystemClock
The local system clock, because no reference signal is being received.
Trait Implementations§
Source§impl Clone for ClockSource
impl Clone for ClockSource
impl Copy for ClockSource
Source§impl Debug for ClockSource
impl Debug for ClockSource
impl Eq for ClockSource
Source§impl Hash for ClockSource
impl Hash for ClockSource
Source§impl PartialEq for ClockSource
impl PartialEq for ClockSource
impl StructuralPartialEq for ClockSource
Auto Trait Implementations§
impl Freeze for ClockSource
impl RefUnwindSafe for ClockSource
impl Send for ClockSource
impl Sync for ClockSource
impl Unpin for ClockSource
impl UnsafeUnpin for ClockSource
impl UnwindSafe for ClockSource
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