pub struct SlashMeter {
pub numerator: UnsignedIntegerType,
pub denominator: UnsignedIntegerType,
pub division: MeterDivision,
}Expand description
A meter read from text: music21’s MeterTerminalTuple.
Fields§
§numerator: UnsignedIntegerTypeThe number of units.
denominator: UnsignedIntegerTypeThe unit, as a note value: 8 for eighths.
division: MeterDivisionThe word written before it, if any.
Trait Implementations§
Source§impl Clone for SlashMeter
impl Clone for SlashMeter
impl Copy for SlashMeter
Source§impl Debug for SlashMeter
impl Debug for SlashMeter
impl Eq for SlashMeter
Source§impl Hash for SlashMeter
impl Hash for SlashMeter
Source§impl PartialEq for SlashMeter
impl PartialEq for SlashMeter
impl StructuralPartialEq for SlashMeter
Auto Trait Implementations§
impl Forget for SlashMeter
impl Freeze for SlashMeter
impl Move for SlashMeter
impl RefUnwindSafe for SlashMeter
impl Send for SlashMeter
impl Sync for SlashMeter
impl Unpin for SlashMeter
impl UnsafeUnpin for SlashMeter
impl UnwindSafe for SlashMeter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more