pub struct PerformanceEvent {
pub lane_id: LaneId,
pub source_id: Symbol,
pub input_time: Tick,
pub time: Tick,
pub intent: PerformanceIntent,
}Expand description
A performance-intent event tying a rendered time back to its input.
Fields§
§lane_id: LaneIdLane the performance event plays on.
source_id: SymbolSymbol identifying the originating source.
input_time: TickInput (pre-performance) time in ticks.
time: TickRendered (post-performance) time in ticks.
intent: PerformanceIntentPerformance intent applied to the event.
Implementations§
Trait Implementations§
Source§impl Clone for PerformanceEvent
impl Clone for PerformanceEvent
Source§fn clone(&self) -> PerformanceEvent
fn clone(&self) -> PerformanceEvent
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 PerformanceEvent
impl Debug for PerformanceEvent
impl Eq for PerformanceEvent
Source§impl PartialEq for PerformanceEvent
impl PartialEq for PerformanceEvent
impl StructuralPartialEq for PerformanceEvent
Auto Trait Implementations§
impl Freeze for PerformanceEvent
impl RefUnwindSafe for PerformanceEvent
impl Send for PerformanceEvent
impl Sync for PerformanceEvent
impl Unpin for PerformanceEvent
impl UnsafeUnpin for PerformanceEvent
impl UnwindSafe for PerformanceEvent
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