pub enum ArpeggioType {
Normal,
Up,
Down,
NonArpeggio,
}Expand description
How a chord’s notes are spread: music21’s ArpeggioMark.type.
Variants§
Normal
A wavy line, bottom to top.
Up
A wavy line with an arrow pointing up.
Down
A wavy line with an arrow pointing down.
NonArpeggio
A bracket: this chord is not spread, among ones that are.
Implementations§
Trait Implementations§
Source§impl Clone for ArpeggioType
impl Clone for ArpeggioType
impl Copy for ArpeggioType
Source§impl Debug for ArpeggioType
impl Debug for ArpeggioType
Source§impl Default for ArpeggioType
impl Default for ArpeggioType
Source§impl<'de> Deserialize<'de> for ArpeggioType
Available on crate feature serde only.
impl<'de> Deserialize<'de> for ArpeggioType
Available on crate feature
serde only.Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ArpeggioType
Source§impl Hash for ArpeggioType
impl Hash for ArpeggioType
Source§impl PartialEq for ArpeggioType
impl PartialEq for ArpeggioType
Source§impl Serialize for ArpeggioType
Available on crate feature serde only.
impl Serialize for ArpeggioType
Available on crate feature
serde only.impl StructuralPartialEq for ArpeggioType
Auto Trait Implementations§
impl Freeze for ArpeggioType
impl RefUnwindSafe for ArpeggioType
impl Send for ArpeggioType
impl Sync for ArpeggioType
impl Unpin for ArpeggioType
impl UnsafeUnpin for ArpeggioType
impl UnwindSafe for ArpeggioType
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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