pub enum TupletType {
Start,
Stop,
StartStop,
}Expand description
Where a tuplet’s bracket falls over its notes: music21’s Tuplet.type.
Variants§
Start
The bracket starts on this note.
Stop
The bracket stops on this note.
StartStop
The bracket starts and stops on this one note.
Implementations§
Trait Implementations§
Source§impl Clone for TupletType
impl Clone for TupletType
impl Copy for TupletType
Source§impl Debug for TupletType
impl Debug for TupletType
Source§impl<'de> Deserialize<'de> for TupletType
Available on crate feature serde only.
impl<'de> Deserialize<'de> for TupletType
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 TupletType
Source§impl Hash for TupletType
impl Hash for TupletType
Source§impl PartialEq for TupletType
impl PartialEq for TupletType
Source§impl Serialize for TupletType
Available on crate feature serde only.
impl Serialize for TupletType
Available on crate feature
serde only.impl StructuralPartialEq for TupletType
Auto Trait Implementations§
impl Freeze for TupletType
impl RefUnwindSafe for TupletType
impl Send for TupletType
impl Sync for TupletType
impl Unpin for TupletType
impl UnsafeUnpin for TupletType
impl UnwindSafe for TupletType
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