pub struct MixerState {
pub selected_bus: Option<u64>,
pub popped: Vec<(u64, usize)>,
pub show_routing: bool,
drag: Option<(u64, usize, usize)>,
}Fields§
§selected_bus: Option<u64>§popped: Vec<(u64, usize)>Filters the user pulled out into their own window, as (bus, filter index). Kept in the pane’s state so the windows survive a repaint, and dropped when the filter goes.
show_routing: boolShow the clip/track routing section.
drag: Option<(u64, usize, usize)>Band being dragged on a response plot, as (bus, filter index, band index). Latched for the whole drag: with five bands the nearest one changes under the pointer and the grab would hop.
Trait Implementations§
Source§impl Default for MixerState
impl Default for MixerState
Source§fn default() -> MixerState
fn default() -> MixerState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MixerState
impl RefUnwindSafe for MixerState
impl Send for MixerState
impl Sync for MixerState
impl Unpin for MixerState
impl UnwindSafe for MixerState
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
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more