pub struct Selection {
pub field: &'static str,
pub value: &'static str,
}Expand description
How a group is chosen when it is one of several stored alternatives: writing value
to field makes the instrument play this one.
Not a relevance condition. The other alternatives stay relevant — a stored preset the
instrument is not playing is still state the panel offers — where a group whose
Group::when fails is one the instrument is not using at all.
Fields§
§field: &'static strThe field that chooses between the sibling groups.
value: &'static strThe value that selects this group, spelled as Field::value spells it.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Selection
impl RefUnwindSafe for Selection
impl Send for Selection
impl Sync for Selection
impl Unpin for Selection
impl UnsafeUnpin for Selection
impl UnwindSafe for Selection
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