Struct TempoRange
pub struct TempoRange { /* private fields */ }Implementations§
§impl TempoRange
impl TempoRange
pub fn new( min: BeatsPerMinute, max: BeatsPerMinute, ) -> Result<TempoRange, TempoError>
pub const fn min(self) -> BeatsPerMinute
pub const fn max(self) -> BeatsPerMinute
Trait Implementations§
§impl Clone for TempoRange
impl Clone for TempoRange
§fn clone(&self) -> TempoRange
fn clone(&self) -> TempoRange
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 more§impl Debug for TempoRange
impl Debug for TempoRange
§impl PartialEq for TempoRange
impl PartialEq for TempoRange
impl Copy for TempoRange
impl StructuralPartialEq for TempoRange
Auto Trait Implementations§
impl Freeze for TempoRange
impl RefUnwindSafe for TempoRange
impl Send for TempoRange
impl Sync for TempoRange
impl Unpin for TempoRange
impl UnsafeUnpin for TempoRange
impl UnwindSafe for TempoRange
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