pub struct Notation { /* private fields */ }Expand description
One column of figured bass, as written and as it stands expanded.
music21’s figuredBass.notation.Notation. The figures are given as one
string, comma-separated: '7,5,#3', '6,4', '4+,2'.
Implementations§
Source§impl Notation
impl Notation
Sourcepub fn figure_strings(&self) -> &[String]
pub fn figure_strings(&self) -> &[String]
Each figure of the written column, as a string.
Sourcepub fn original_numbers(&self) -> &[Option<IntegerType>]
pub fn original_numbers(&self) -> &[Option<IntegerType>]
The numbers as written, before the shorthand was expanded.
Sourcepub fn original_modifiers(&self) -> &[Option<String>]
pub fn original_modifiers(&self) -> &[Option<String>]
The marks as written.
Sourcepub fn numbers(&self) -> &[Option<IntegerType>]
pub fn numbers(&self) -> &[Option<IntegerType>]
The numbers of the expanded column.
Sourcepub fn modifier_strings(&self) -> &[Option<String>]
pub fn modifier_strings(&self) -> &[Option<String>]
The marks of the expanded column.
Sourcepub fn has_extenders(&self) -> bool
pub fn has_extenders(&self) -> bool
Whether any figure carries a line on from the note before.
Sourcepub fn figures_as_written(&self) -> &[Figure]
pub fn figures_as_written(&self) -> &[Figure]
The figures of the column as it was written.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Notation
Available on crate feature serde only.
impl<'de> Deserialize<'de> for Notation
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 StructuralPartialEq for Notation
Auto Trait Implementations§
impl Freeze for Notation
impl RefUnwindSafe for Notation
impl Send for Notation
impl Sync for Notation
impl Unpin for Notation
impl UnsafeUnpin for Notation
impl UnwindSafe for Notation
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