pub struct ShownKey {
pub label: String,
pub command: Option<String>,
pub submenu: bool,
pub kind: Option<String>,
}Expand description
One menu key as the screen shows it.
Fields§
§label: StringWhat its label says: the command’s or variable’s name, or the definition’s own label.
command: Option<String>The one command it runs.
It opens another menu.
kind: Option<String>A variable’s type, as G D names it (Real Number, Directory).
Trait Implementations§
impl Eq for ShownKey
impl StructuralPartialEq for ShownKey
Auto Trait Implementations§
impl Freeze for ShownKey
impl RefUnwindSafe for ShownKey
impl Send for ShownKey
impl Sync for ShownKey
impl Unpin for ShownKey
impl UnsafeUnpin for ShownKey
impl UnwindSafe for ShownKey
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