pub struct Screen {
pub kind: Kind,
pub from: Source,
pub stack_in_control: bool,
pub halted: u32,
pub command_line: bool,
}Expand description
The uiState protocol answer.
Fields§
§kind: KindWhat has the keyboard.
from: SourceWhere kind came from.
stack_in_control: boolThe stack’s own loop reads the keys (also with a command line open or a program halted).
halted: u32Programs halted (HALT, PROMPT), waiting for CONT or KILL.
command_line: boolThe editor’s command line is open (at the stack, in a form’s field, or for INPUT).
Trait Implementations§
impl Eq for Screen
impl StructuralPartialEq for Screen
Auto Trait Implementations§
impl Forget for Screen
impl Freeze for Screen
impl RefUnwindSafe for Screen
impl Send for Screen
impl Sync for Screen
impl Unpin for Screen
impl UnsafeUnpin for Screen
impl UnwindSafe for Screen
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