pub struct RealizedSerialEvent {
pub event_id: SerialEventId,
pub onset: Time,
pub duration: Time,
pub is_rest: bool,
pub ties_into_next: bool,
}Expand description
One realized event span, which may sound notes or occupy time as a rest.
Fields§
§event_id: SerialEventIdStable planned event identity.
onset: TimeExact onset assigned during realization.
duration: TimeExact occupied duration, whether or not the event sounds notes.
is_rest: boolWhether this event occupies silence rather than sounding notes.
ties_into_next: boolWhether this event tied into the following same-voice event.
Trait Implementations§
Source§impl Clone for RealizedSerialEvent
impl Clone for RealizedSerialEvent
Source§fn clone(&self) -> RealizedSerialEvent
fn clone(&self) -> RealizedSerialEvent
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 RealizedSerialEvent
impl Debug for RealizedSerialEvent
impl Eq for RealizedSerialEvent
Source§impl PartialEq for RealizedSerialEvent
impl PartialEq for RealizedSerialEvent
impl StructuralPartialEq for RealizedSerialEvent
Auto Trait Implementations§
impl Freeze for RealizedSerialEvent
impl RefUnwindSafe for RealizedSerialEvent
impl Send for RealizedSerialEvent
impl Sync for RealizedSerialEvent
impl Unpin for RealizedSerialEvent
impl UnsafeUnpin for RealizedSerialEvent
impl UnwindSafe for RealizedSerialEvent
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