pub struct PerformanceSnapshot {
pub position: u64,
pub state: TransportState,
pub master_gain: f32,
pub loop_range: Option<(u64, u64)>,
}Expand description
A point-in-time control snapshot (see Performance::snapshot).
Fields§
§position: u64Transport position in frames.
state: TransportStateTransport state.
master_gain: f32Master gain.
loop_range: Option<(u64, u64)>Loop range in frames.
Trait Implementations§
Source§impl Clone for PerformanceSnapshot
impl Clone for PerformanceSnapshot
Source§fn clone(&self) -> PerformanceSnapshot
fn clone(&self) -> PerformanceSnapshot
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 PerformanceSnapshot
impl Debug for PerformanceSnapshot
Source§impl PartialEq for PerformanceSnapshot
impl PartialEq for PerformanceSnapshot
impl StructuralPartialEq for PerformanceSnapshot
Auto Trait Implementations§
impl Freeze for PerformanceSnapshot
impl RefUnwindSafe for PerformanceSnapshot
impl Send for PerformanceSnapshot
impl Sync for PerformanceSnapshot
impl Unpin for PerformanceSnapshot
impl UnsafeUnpin for PerformanceSnapshot
impl UnwindSafe for PerformanceSnapshot
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