Struct servo_media_audio::block::Tick
source · pub struct Tick(pub u64);
Expand description
A tick, i.e. the time taken for a single frame
Tuple Fields§
§0: u64
Implementations§
Trait Implementations§
source§impl AddAssign for Tick
impl AddAssign for Tick
source§fn add_assign(&mut self, other: Tick)
fn add_assign(&mut self, other: Tick)
Performs the
+=
operation. Read moresource§impl Ord for Tick
impl Ord for Tick
source§impl PartialOrd for Tick
impl PartialOrd for Tick
impl Copy for Tick
impl Eq for Tick
impl StructuralPartialEq for Tick
Auto Trait Implementations§
impl Freeze for Tick
impl RefUnwindSafe for Tick
impl Send for Tick
impl Sync for Tick
impl Unpin for Tick
impl UnwindSafe for Tick
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.