pub struct Wants {
pub text: bool,
pub keys: Vec<String>,
pub escape: bool,
}Expand description
What the mode takes from the keyboard (Out::Wants).
Fields§
§text: boolPlain typing comes as input.text. Alt keys still go to the bindings
(unless listed in keys) and the rest to the shell.
keys: Vec<String>Escape sequences taken as input.text while text is on (arrows for
a list, say).
escape: boolSomething is open that Escape closes: Escape goes to the mode
(input.escape) instead of to Mouser.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Wants
impl<'de> Deserialize<'de> for Wants
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Wants
impl StructuralPartialEq for Wants
Auto Trait Implementations§
impl Forget for Wants
impl Freeze for Wants
impl RefUnwindSafe for Wants
impl Send for Wants
impl Sync for Wants
impl Unpin for Wants
impl UnsafeUnpin for Wants
impl UnwindSafe for Wants
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