pub struct NoteGroupingTranscriber {
pub show_leading_octave: bool,
/* private fields */
}Expand description
Writes the elements of a grouping one after another, octaves where
needed: music21’s NoteGroupingTranscriber.
Fields§
§show_leading_octave: boolWhether the first note shows its octave.
Implementations§
Source§impl NoteGroupingTranscriber
impl NoteGroupingTranscriber
Sourcepub fn transcribe_group(
&mut self,
grouping: &mut BrailleElementGrouping,
) -> Result<String>
pub fn transcribe_group( &mut self, grouping: &mut BrailleElementGrouping, ) -> Result<String>
A grouping in braille, its elements’ English written onto them, and
a music hyphen where it ends with one: music21’s transcribeGroup.
§Errors
Empty text before something dotted after it, which music21 cannot look at the end of.
Trait Implementations§
Source§impl Clone for NoteGroupingTranscriber
impl Clone for NoteGroupingTranscriber
Source§impl Debug for NoteGroupingTranscriber
impl Debug for NoteGroupingTranscriber
Auto Trait Implementations§
impl Freeze for NoteGroupingTranscriber
impl RefUnwindSafe for NoteGroupingTranscriber
impl Send for NoteGroupingTranscriber
impl Sync for NoteGroupingTranscriber
impl Unpin for NoteGroupingTranscriber
impl UnsafeUnpin for NoteGroupingTranscriber
impl UnwindSafe for NoteGroupingTranscriber
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