pub struct TempoMapPoint { /* private fields */ }Implementations§
Source§impl TempoMapPoint
impl TempoMapPoint
pub fn new(beat: f64, bpm: BeatsPerMinute) -> Result<Self, TempoError>
pub const fn beat(self) -> f64
pub const fn bpm(self) -> BeatsPerMinute
Trait Implementations§
Source§impl Clone for TempoMapPoint
impl Clone for TempoMapPoint
Source§fn clone(&self) -> TempoMapPoint
fn clone(&self) -> TempoMapPoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TempoMapPoint
impl Debug for TempoMapPoint
Source§impl PartialEq for TempoMapPoint
impl PartialEq for TempoMapPoint
Source§fn eq(&self, other: &TempoMapPoint) -> bool
fn eq(&self, other: &TempoMapPoint) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TempoMapPoint
impl StructuralPartialEq for TempoMapPoint
Auto Trait Implementations§
impl Freeze for TempoMapPoint
impl RefUnwindSafe for TempoMapPoint
impl Send for TempoMapPoint
impl Sync for TempoMapPoint
impl Unpin for TempoMapPoint
impl UnsafeUnpin for TempoMapPoint
impl UnwindSafe for TempoMapPoint
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