pub enum MapsTo {
Keys(Vec<KeyEvent>),
Function(Box<Mutex<dyn FnMut(&mut Pass) + Send>>),
}Variants§
Keys(Vec<KeyEvent>)
A sequence of KeyEvents that a remap maps to
Function(Box<Mutex<dyn FnMut(&mut Pass) + Send>>)
A Mode that a remap switches to
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MapsTo
impl RefUnwindSafe for MapsTo
impl Send for MapsTo
impl Sync for MapsTo
impl Unpin for MapsTo
impl UnsafeUnpin for MapsTo
impl UnwindSafe for MapsTo
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