pub enum Key<'a> {
Delete,
Char(&'a str),
}
Expand description
Represents a Key character.
Variants
Delete
Behind the scenes, this translates to NSDeleteCharacter (for AppKit).
Char(&'a str)
Whatever character you want.
Trait Implementations
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more