pub struct AmbitusShort {
pub semitones: IntegerType,
pub diatonic: String,
pub pitch_lowest: Option<String>,
pub pitch_highest: Option<String>,
}Expand description
A score’s range as a few plain values: music21’s AmbitusShort.
Fields§
§semitones: IntegerTypeThe span in semitones.
diatonic: StringThe span’s simple diatonic name, P5.
pitch_lowest: Option<String>The lowest pitch, by name with octave.
pitch_highest: Option<String>The highest pitch, by name with octave.
Trait Implementations§
Source§impl Clone for AmbitusShort
impl Clone for AmbitusShort
Source§impl Debug for AmbitusShort
impl Debug for AmbitusShort
Source§impl<'de> Deserialize<'de> for AmbitusShort
Available on crate feature serde only.
impl<'de> Deserialize<'de> for AmbitusShort
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 AmbitusShort
Source§impl PartialEq for AmbitusShort
impl PartialEq for AmbitusShort
Source§impl Serialize for AmbitusShort
Available on crate feature serde only.
impl Serialize for AmbitusShort
Available on crate feature
serde only.impl StructuralPartialEq for AmbitusShort
Auto Trait Implementations§
impl Forget for AmbitusShort
impl Freeze for AmbitusShort
impl Move for AmbitusShort
impl RefUnwindSafe for AmbitusShort
impl Send for AmbitusShort
impl Sync for AmbitusShort
impl Unpin for AmbitusShort
impl UnsafeUnpin for AmbitusShort
impl UnwindSafe for AmbitusShort
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