pub struct MeasureSplit {
pub tokens: Range<usize>,
pub left: Option<usize>,
pub right: Option<usize>,
}Expand description
A measure of Handler::split_by_measure’s, by token index.
Fields§
§tokens: Range<usize>The tokens inside the measure.
left: Option<usize>The bar opening it.
right: Option<usize>The bar closing it.
Trait Implementations§
Source§impl Clone for MeasureSplit
impl Clone for MeasureSplit
Source§impl Debug for MeasureSplit
impl Debug for MeasureSplit
impl Eq for MeasureSplit
Source§impl PartialEq for MeasureSplit
impl PartialEq for MeasureSplit
impl StructuralPartialEq for MeasureSplit
Auto Trait Implementations§
impl Forget for MeasureSplit
impl Freeze for MeasureSplit
impl Move for MeasureSplit
impl RefUnwindSafe for MeasureSplit
impl Send for MeasureSplit
impl Sync for MeasureSplit
impl Unpin for MeasureSplit
impl UnsafeUnpin for MeasureSplit
impl UnwindSafe for MeasureSplit
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