pub struct MetronomeMark { /* private fields */ }Implementations§
Source§impl MetronomeMark
impl MetronomeMark
pub const fn new(beat_unit: &'static str, bpm: BeatsPerMinute) -> Self
pub const fn beat_unit(self) -> &'static str
pub const fn bpm(self) -> BeatsPerMinute
Trait Implementations§
Source§impl Clone for MetronomeMark
impl Clone for MetronomeMark
Source§fn clone(&self) -> MetronomeMark
fn clone(&self) -> MetronomeMark
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 moreSource§impl Debug for MetronomeMark
impl Debug for MetronomeMark
Source§impl PartialEq for MetronomeMark
impl PartialEq for MetronomeMark
impl Copy for MetronomeMark
impl StructuralPartialEq for MetronomeMark
Auto Trait Implementations§
impl Freeze for MetronomeMark
impl RefUnwindSafe for MetronomeMark
impl Send for MetronomeMark
impl Sync for MetronomeMark
impl Unpin for MetronomeMark
impl UnsafeUnpin for MetronomeMark
impl UnwindSafe for MetronomeMark
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