pub enum Kind {
Stack,
CommandLine,
Halted,
InputForm,
ChooseBox,
Message,
Graphics,
Input,
Unknown,
}Expand description
What has the keyboard.
Variants§
Stack
The stack, no command line open, no program halted.
CommandLine
The stack with a command line open.
Halted
The stack, with one or more programs halted (HALT, PROMPT).
InputForm
An input form (48GX, 49G).
ChooseBox
A choose box.
Message
A message box (MSGBOX, the 49G’s error box).
Graphics
The graphics screen (PICTURE, PVIEW, a plot).
Input
Another loop reads the keys with the command line open: a program waits for input (INPUT), or an editor uses the line (the 49G’s equation writer).
Unknown
Another loop has the keyboard (the interactive stack, the equation or matrix writer, WAIT), or the state could not be read.
Trait Implementations§
impl Copy for Kind
impl Eq for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Forget for Kind
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnsafeUnpin for Kind
impl UnwindSafe for Kind
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