pub struct Keylist { /* private fields */ }Implementations§
Source§impl Keylist
impl Keylist
pub fn new(allow_case: bool) -> Self
pub fn allow_case(self, allow_case: bool) -> Self
pub fn all(self, all: bool) -> Self
pub fn with_keys(self, keys: &[KeyCode]) -> Self
pub fn with_chars(self, keys: &[char]) -> Self
pub fn except_keys(self, keys: &[KeyCode]) -> Self
pub fn except_chars(self, keys: &[char]) -> Self
pub fn clear_keys(&mut self)
pub fn keys(&self) -> &[KeyCode]
Auto Trait Implementations§
impl Freeze for Keylist
impl RefUnwindSafe for Keylist
impl Send for Keylist
impl Sync for Keylist
impl Unpin for Keylist
impl UnwindSafe for Keylist
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