Struct augmented_playhead::PlayHead
source · [−]pub struct PlayHead { /* private fields */ }Implementations
sourceimpl PlayHead
impl PlayHead
pub fn new(options: PlayHeadOptions) -> Self
pub fn accept_samples(&self, num_samples: u32)
pub fn accept_ticks(&self, num_ticks: u32)
pub fn set_position_seconds(&self, seconds: f32)
pub fn set_tempo(&self, tempo: f32)
pub fn set_sample_rate(&self, sample_rate: f32)
pub fn options(&self) -> &PlayHeadOptions
pub fn position_seconds(&self) -> f32
pub fn position_beats(&self) -> f64
pub fn position_samples(&self) -> u32
pub fn position_ticks(&self) -> u32
Auto Trait Implementations
impl RefUnwindSafe for PlayHead
impl Send for PlayHead
impl Sync for PlayHead
impl Unpin for PlayHead
impl UnwindSafe for PlayHead
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more