pub struct KeyDecl {
pub chord: String,
pub seq: Vec<String>,
pub to: String,
pub label: Option<String>,
pub in_inputs: bool,
pub only: bool,
pub in_controls: bool,
}Expand description
One declaration: the sequence, what it runs (a fold’s name, or a module’s function’s), its label, and its two switches.
Fields§
§chord: StringThe sequence as written in the tree: canonical chords, one space.
seq: Vec<String>§to: String§label: Option<String>§in_inputs: bool§only: bool§in_controls: boolFRAME-38: heard as plain enter / space on a button or a link.
Implementations§
Trait Implementations§
impl StructuralPartialEq for KeyDecl
Auto Trait Implementations§
impl Forget for KeyDecl
impl Freeze for KeyDecl
impl RefUnwindSafe for KeyDecl
impl Send for KeyDecl
impl Sync for KeyDecl
impl Unpin for KeyDecl
impl UnsafeUnpin for KeyDecl
impl UnwindSafe for KeyDecl
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> Variant for T
impl<T> Variant for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert this
Variant trait object to &mut dyn Any.Source§fn as_boxed_any(self: Box<T>) -> Box<dyn Any>
fn as_boxed_any(self: Box<T>) -> Box<dyn Any>
Convert this
Variant trait object to Box<dyn Any>.