pub struct BrailleOptions {
pub in_place: bool,
pub debug: bool,
pub segment: SegmentOptions,
}Expand description
How music21’s braille translation is asked to write: its keyword arguments.
Fields§
§in_place: boolWhether the stream is written as it stands, or first given the
notation it leaves unsaid as music21’s makeNotation gives it.
debug: boolWhether each segment is written as music21’s English listing of its groupings instead of braille.
segment: SegmentOptionsThe options each segment is written with.
Trait Implementations§
Source§impl Clone for BrailleOptions
impl Clone for BrailleOptions
impl Copy for BrailleOptions
Source§impl Debug for BrailleOptions
impl Debug for BrailleOptions
Source§impl Default for BrailleOptions
impl Default for BrailleOptions
impl Eq for BrailleOptions
Source§impl PartialEq for BrailleOptions
impl PartialEq for BrailleOptions
impl StructuralPartialEq for BrailleOptions
Auto Trait Implementations§
impl Freeze for BrailleOptions
impl RefUnwindSafe for BrailleOptions
impl Send for BrailleOptions
impl Sync for BrailleOptions
impl Unpin for BrailleOptions
impl UnsafeUnpin for BrailleOptions
impl UnwindSafe for BrailleOptions
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