pub struct StaffVoice {
pub id: ObjectId,
pub name: String,
pub duration: Time,
pub notes: Vec<StaffNote>,
}Expand description
One named staff voice with an exact notated span.
Fields§
§id: ObjectIdStable voice identity.
name: StringHuman-facing voice name.
duration: TimeExact span, including trailing silence.
notes: Vec<StaffNote>Notes belonging to the voice, in stable time order.
Trait Implementations§
Source§impl Clone for StaffVoice
impl Clone for StaffVoice
Source§fn clone(&self) -> StaffVoice
fn clone(&self) -> StaffVoice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StaffVoice
impl Debug for StaffVoice
impl Eq for StaffVoice
Source§impl PartialEq for StaffVoice
impl PartialEq for StaffVoice
impl StructuralPartialEq for StaffVoice
Auto Trait Implementations§
impl Freeze for StaffVoice
impl RefUnwindSafe for StaffVoice
impl Send for StaffVoice
impl Sync for StaffVoice
impl Unpin for StaffVoice
impl UnsafeUnpin for StaffVoice
impl UnwindSafe for StaffVoice
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