pub struct NoteContext {
pub begin_long_bracket_slur: bool,
pub end_long_bracket_slur: bool,
pub begin_long_double_slur: bool,
pub end_long_double_slur: bool,
pub short_slur: bool,
pub beam_start: bool,
pub beam_continue: bool,
}Expand description
How a note stands among its neighbours, which a segment works out and the note’s braille shows: the attributes music21 sets on a note for the time it is transcribed.
Fields§
§begin_long_bracket_slur: boolThe note begins a slur long enough to be written with brackets.
end_long_bracket_slur: boolThe note ends such a slur.
begin_long_double_slur: boolThe note begins a long slur written doubled.
end_long_double_slur: boolThe note ends such a slur.
short_slur: boolThe note is under a short slur, which is written after each note.
beam_start: boolThe note begins a beamed group, which shows a tuplet’s sign.
beam_continue: boolThe note continues a beamed group, written as an eighth.
Trait Implementations§
Source§impl Clone for NoteContext
impl Clone for NoteContext
impl Copy for NoteContext
Source§impl Debug for NoteContext
impl Debug for NoteContext
Source§impl Default for NoteContext
impl Default for NoteContext
impl Eq for NoteContext
Source§impl PartialEq for NoteContext
impl PartialEq for NoteContext
impl StructuralPartialEq for NoteContext
Auto Trait Implementations§
impl Freeze for NoteContext
impl RefUnwindSafe for NoteContext
impl Send for NoteContext
impl Sync for NoteContext
impl Unpin for NoteContext
impl UnsafeUnpin for NoteContext
impl UnwindSafe for NoteContext
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