pub enum BeatValue {
Whole,
Half,
Quarter,
Eighth,
Sixteenth,
ThirtySecond,
SixtyFourth,
Other(u8),
}
Expand description
The note value of a beat, used by Signature
.
Variants§
Whole
Half
Quarter
Eighth
Sixteenth
ThirtySecond
SixtyFourth
Other(u8)
Any other value interpreted as 2^x. The spec does not limit this value, so the maximum is a crazy 2^127
Trait Implementations§
source§impl PartialEq for BeatValue
impl PartialEq for BeatValue
impl Copy for BeatValue
impl Eq for BeatValue
impl StructuralPartialEq for BeatValue
Auto Trait Implementations§
impl Freeze for BeatValue
impl RefUnwindSafe for BeatValue
impl Send for BeatValue
impl Sync for BeatValue
impl Unpin for BeatValue
impl UnwindSafe for BeatValue
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