pub struct SessionSelector {
pub param: usize,
pub index: usize,
}Expand description
One discrete control, stored by what it selects.
The knob fraction is still in synth_params — this is the authority when
both are present, and the fraction is what a version 1 file has to fall
back on.
Fields§
§param: usizeIndex into synth_params.
index: usizeWhich position of that control, counting from zero.
Trait Implementations§
Source§impl Clone for SessionSelector
impl Clone for SessionSelector
Source§fn clone(&self) -> SessionSelector
fn clone(&self) -> SessionSelector
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 moreimpl Copy for SessionSelector
Source§impl Debug for SessionSelector
impl Debug for SessionSelector
Source§impl<'de> Deserialize<'de> for SessionSelector
impl<'de> Deserialize<'de> for SessionSelector
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SessionSelector
Source§impl PartialEq for SessionSelector
impl PartialEq for SessionSelector
Source§impl Serialize for SessionSelector
impl Serialize for SessionSelector
impl StructuralPartialEq for SessionSelector
Auto Trait Implementations§
impl Freeze for SessionSelector
impl RefUnwindSafe for SessionSelector
impl Send for SessionSelector
impl Sync for SessionSelector
impl Unpin for SessionSelector
impl UnsafeUnpin for SessionSelector
impl UnwindSafe for SessionSelector
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