pub struct ClockConsumer { /* private fields */ }Implementations§
Source§impl ClockConsumer
impl ClockConsumer
pub fn raw_frames(&self) -> usize
pub fn beat(&self) -> f32
pub fn beat_duration(&self) -> f32
Trait Implementations§
Source§impl Clone for ClockConsumer
impl Clone for ClockConsumer
Source§fn clone(&self) -> ClockConsumer
fn clone(&self) -> ClockConsumer
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 moreAuto Trait Implementations§
impl Freeze for ClockConsumer
impl RefUnwindSafe for ClockConsumer
impl Send for ClockConsumer
impl Sync for ClockConsumer
impl Unpin for ClockConsumer
impl UnwindSafe for ClockConsumer
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