Struct Performance Changes
pub struct PerformanceChanges<const N: usize> {
pub changed: u128,
pub released: u128,
pub started: Option<PerformanceStart>,
/* private fields */
}Expand description
Fixed results for one event. Completed targets retain the original address/ID. Completion is distinct from release; the consumer owns output delivery policy.
Fields§
§changed: u128§released: u128§started: Option<PerformanceStart>Implementations§
§impl<const N: usize> PerformanceChanges<N>
impl<const N: usize> PerformanceChanges<N>
pub fn completions(&self) -> impl Iterator<Item = (usize, NoteTarget)> + '_
pub fn completions(&self) -> impl Iterator<Item = (usize, NoteTarget)> + '_
Completed physical slot and original target, in ascending slot order.
Trait Implementations§
§impl<const N: usize> Clone for PerformanceChanges<N>
impl<const N: usize> Clone for PerformanceChanges<N>
§fn clone(&self) -> PerformanceChanges<N>
fn clone(&self) -> PerformanceChanges<N>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl<const N: usize> Debug for PerformanceChanges<N>
impl<const N: usize> Debug for PerformanceChanges<N>
§impl<const N: usize> Default for PerformanceChanges<N>
impl<const N: usize> Default for PerformanceChanges<N>
§impl<const N: usize> PartialEq for PerformanceChanges<N>
impl<const N: usize> PartialEq for PerformanceChanges<N>
impl<const N: usize> StructuralPartialEq for PerformanceChanges<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for PerformanceChanges<N>
impl<const N: usize> RefUnwindSafe for PerformanceChanges<N>
impl<const N: usize> Send for PerformanceChanges<N>
impl<const N: usize> Sync for PerformanceChanges<N>
impl<const N: usize> Unpin for PerformanceChanges<N>
impl<const N: usize> UnsafeUnpin for PerformanceChanges<N>
impl<const N: usize> UnwindSafe for PerformanceChanges<N>
Blanket Implementations§
§impl<T> BorrowMut<T> for T
impl<T> BorrowMut<T> for T
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more