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 PartialEq for Tick
impl PartialEq for Tick
source§impl PartialOrd for Tick
impl PartialOrd for Tick
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl 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<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.