pub struct PitchLabels {
pub octaves: Octaves,
pub show_enharmonic: bool,
pub blank_label_unused: bool,
pub hide_unused: bool,
}Expand description
How a pitch axis labels its ticks: music21’s PitchAxis attributes.
Fields§
§octaves: Octavesmusic21’s showOctaves.
show_enharmonic: boolWhether a tick names every spelling found of it, or only the most
used: music21’s showEnharmonic.
blank_label_unused: boolWhether a tick no pitch found is left unlabelled, rather than
named: music21’s blankLabelUnused.
hide_unused: boolWhether a tick no pitch found is left out: music21’s hideUnused.
Trait Implementations§
Source§impl Clone for PitchLabels
impl Clone for PitchLabels
impl Copy for PitchLabels
Source§impl Debug for PitchLabels
impl Debug for PitchLabels
impl Eq for PitchLabels
Source§impl PartialEq for PitchLabels
impl PartialEq for PitchLabels
impl StructuralPartialEq for PitchLabels
Auto Trait Implementations§
impl Forget for PitchLabels
impl Freeze for PitchLabels
impl Move for PitchLabels
impl RefUnwindSafe for PitchLabels
impl Send for PitchLabels
impl Sync for PitchLabels
impl Unpin for PitchLabels
impl UnsafeUnpin for PitchLabels
impl UnwindSafe for PitchLabels
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