pub enum Key<'a> {
Mod(Vec<Mod>, &'a str),
Key(&'a str),
}Expand description
Type for a key held by a bind
Variants§
Mod(Vec<Mod>, &'a str)
Variant for if the bind holds a modded key
Key(&'a str)
Variant for a regular key
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Key<'a>
impl<'a> RefUnwindSafe for Key<'a>
impl<'a> Send for Key<'a>
impl<'a> Sync for Key<'a>
impl<'a> Unpin for Key<'a>
impl<'a> UnwindSafe for Key<'a>
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