pub enum MeasureSpan {
Ends,
Spaced(i64),
}Expand description
Which of the measures an offset axis ticks: music21’s
minMaxMeasureOnly.
Variants§
Ends
The first and the last only.
Spaced(i64)
The first, the last, every strong barline, and others evenly, to
about this many in all: music21’s mostMeasureTicksToShow.
Trait Implementations§
Source§impl Clone for MeasureSpan
impl Clone for MeasureSpan
impl Copy for MeasureSpan
Source§impl Debug for MeasureSpan
impl Debug for MeasureSpan
impl Eq for MeasureSpan
Source§impl PartialEq for MeasureSpan
impl PartialEq for MeasureSpan
impl StructuralPartialEq for MeasureSpan
Auto Trait Implementations§
impl Forget for MeasureSpan
impl Freeze for MeasureSpan
impl Move for MeasureSpan
impl RefUnwindSafe for MeasureSpan
impl Send for MeasureSpan
impl Sync for MeasureSpan
impl Unpin for MeasureSpan
impl UnsafeUnpin for MeasureSpan
impl UnwindSafe for MeasureSpan
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