pub struct MenuKeys {
pub keys: Option<Vec<Option<ShownKey>>>,
}Expand description
The menu event (web/protocol.md): the six menu keys the screen
shows (48SX, 48GX, 49G; the 42S, the Pioneers and the 28S), sent when
they changed. Serializes as
{"type":"menu","keys":[{label, command?, submenu?, type?} | null, ...]},
keys null where they are not known.
Fields§
§keys: Option<Vec<Option<ShownKey>>>The keys A-F (F1-F6), None for a blank one.
Trait Implementations§
impl Eq for MenuKeys
impl StructuralPartialEq for MenuKeys
Auto Trait Implementations§
impl Forget for MenuKeys
impl Freeze for MenuKeys
impl Move for MenuKeys
impl RefUnwindSafe for MenuKeys
impl Send for MenuKeys
impl Sync for MenuKeys
impl Unpin for MenuKeys
impl UnsafeUnpin for MenuKeys
impl UnwindSafe for MenuKeys
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