pub enum SpannerStep {
DirectionType {
staff: i32,
offset: FloatType,
},
Notations,
One {
kind: SpannerKind,
duplicates: DuplicateIds,
},
}Available on crate feature
musicxml only.Expand description
Which of music21’s spanner-reading steps to take.
Variants§
DirectionType
xmlDirectionTypeToSpanners: a wedge, bracket, dashes, octave
shift or pedal, its marks on staff at offset.
Fields
Notations
xmlNotationsToSpanners: the slurs, wavy lines, tremolos,
glissandos and arpeggios a <notations> joins its note to.
One
xmlOneSpanner: the open spanner of a kind and number, or a new
one where there is none or duplicates are wanted.
Fields
§
kind: SpannerKindThe kind of spanner.
§
duplicates: DuplicateIdsWhether an open one of the same number is joined or another begun.
Trait Implementations§
Source§impl Clone for SpannerStep
impl Clone for SpannerStep
impl Copy for SpannerStep
Auto Trait Implementations§
impl Forget for SpannerStep
impl Freeze for SpannerStep
impl Move for SpannerStep
impl RefUnwindSafe for SpannerStep
impl Send for SpannerStep
impl Sync for SpannerStep
impl Unpin for SpannerStep
impl UnsafeUnpin for SpannerStep
impl UnwindSafe for SpannerStep
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