Struct Saved State
pub struct SavedState {
pub version: u32,
pub parameters: Vec<(ParameterId, f32)>,
pub extra: Vec<u8>,
}Expand description
The contents of an envelope, before matching against the current product.
Fields§
§version: u32Product state version the data was written with.
parameters: Vec<(ParameterId, f32)>Saved parameter values by host ID, in saved order.
extra: Vec<u8>Product extra data.
Trait Implementations§
§impl Clone for SavedState
impl Clone for SavedState
§fn clone(&self) -> SavedState
fn clone(&self) -> SavedState
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 Debug for SavedState
impl Debug for SavedState
§impl PartialEq for SavedState
impl PartialEq for SavedState
impl StructuralPartialEq for SavedState
Auto Trait Implementations§
impl Freeze for SavedState
impl RefUnwindSafe for SavedState
impl Send for SavedState
impl Sync for SavedState
impl Unpin for SavedState
impl UnsafeUnpin for SavedState
impl UnwindSafe for SavedState
Blanket Implementations§
impl<T> AutoreleaseSafe for T
§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