[][src]Struct apres::SetTempoEvent

pub struct SetTempoEvent { /* fields omitted */ }

Implementations

impl SetTempoEvent[src]

pub fn new(us_per_quarter_note: u32) -> Box<SetTempoEvent>[src]

pub fn set_bpm(&mut self, bpm: f64)[src]

pub fn set_uspqn(&mut self, uspqn: u32)[src]

pub fn get_uspqn(&self) -> u32[src]

pub fn get_bpm(&self) -> f64[src]

Trait Implementations

impl MIDIEvent for SetTempoEvent[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.