pub enum SpannerParameter {
Text(&'static str),
Whole(i64),
Decimal(FloatType),
}Available on crate feature
musicxml only.Expand description
A value of spanner_parameters: text, or a number music21 keeps as
one.
Variants§
Text(&'static str)
Text, as yes or crescendo.
Whole(i64)
A whole number, as an octave line’s size.
Decimal(FloatType)
A number with a fraction, as a hairpin’s spread may be.
Trait Implementations§
Source§impl Clone for SpannerParameter
impl Clone for SpannerParameter
Source§impl Debug for SpannerParameter
impl Debug for SpannerParameter
Source§impl Display for SpannerParameter
impl Display for SpannerParameter
Source§impl PartialEq for SpannerParameter
impl PartialEq for SpannerParameter
impl StructuralPartialEq for SpannerParameter
Auto Trait Implementations§
impl Forget for SpannerParameter
impl Freeze for SpannerParameter
impl Move for SpannerParameter
impl RefUnwindSafe for SpannerParameter
impl Send for SpannerParameter
impl Sync for SpannerParameter
impl Unpin for SpannerParameter
impl UnsafeUnpin for SpannerParameter
impl UnwindSafe for SpannerParameter
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