pub struct MeasureLine {
pub tag: String,
pub data: String,
pub number: Vec<i64>,
pub repeat_letter: Vec<String>,
pub variant_number: Option<i64>,
pub variant_letter: Option<String>,
pub is_copy_definition: bool,
}Expand description
A measure line read as music21’s RTMeasure reads one.
Fields§
§tag: StringThe measure number or range, m3-4.
data: StringWhat follows the tag and any variant mark.
number: Vec<i64>One or two measure numbers.
repeat_letter: Vec<String>The repeat letter of each number, empty for none.
variant_number: Option<i64>var1’s number: a variant reading of one measure.
variant_letter: Option<String>varA’s letters: a variant reading of a longer passage.
is_copy_definition: boolWhether it copies other measures: m4 = m1.
Trait Implementations§
Source§impl Clone for MeasureLine
impl Clone for MeasureLine
Source§impl Debug for MeasureLine
impl Debug for MeasureLine
impl Eq for MeasureLine
Source§impl PartialEq for MeasureLine
impl PartialEq for MeasureLine
impl StructuralPartialEq for MeasureLine
Auto Trait Implementations§
impl Forget for MeasureLine
impl Freeze for MeasureLine
impl Move for MeasureLine
impl RefUnwindSafe for MeasureLine
impl Send for MeasureLine
impl Sync for MeasureLine
impl Unpin for MeasureLine
impl UnsafeUnpin for MeasureLine
impl UnwindSafe for MeasureLine
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