pub struct StaffNote {
pub voice_id: ObjectId,
pub note_id: ObjectId,
pub event_id: ObjectId,
pub onset: Time,
pub note: Note,
}Expand description
A note placed on an identity-bearing staff.
Fields§
§voice_id: ObjectIdIdentity of the containing voice.
note_id: ObjectIdIdentity of the logical note across reversible pitch/time transforms.
event_id: ObjectIdIdentity of this note event across score representations.
onset: TimeExact absolute onset in whole-note units.
note: NoteMusical note payload.
Implementations§
Trait Implementations§
impl Eq for StaffNote
impl StructuralPartialEq for StaffNote
Auto Trait Implementations§
impl Freeze for StaffNote
impl RefUnwindSafe for StaffNote
impl Send for StaffNote
impl Sync for StaffNote
impl Unpin for StaffNote
impl UnsafeUnpin for StaffNote
impl UnwindSafe for StaffNote
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