pub enum Numerator {
Whole,
Half,
Quarter,
N8th,
N16th,
N32nd,
N64th,
N128th,
}Expand description
Note duration numerator (note type).
Represents the type of note: whole note, half note, quarter note, etc.
Variants§
Whole
Whole note (1)
Half
Half note (1/2)
Quarter
Quarter note (1/4)
N8th
Eighth note (1/8)
N16th
Sixteenth note (1/16)
N32nd
Thirty-second note (1/32)
N64th
Sixty-fourth note (1/64)
N128th
One hundred twenty-eighth note (1/128)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Numerator
impl<'de> Deserialize<'de> for Numerator
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Numerator
impl Eq for Numerator
impl StructuralPartialEq for Numerator
Auto Trait Implementations§
impl Freeze for Numerator
impl RefUnwindSafe for Numerator
impl Send for Numerator
impl Sync for Numerator
impl Unpin for Numerator
impl UnwindSafe for Numerator
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