pub enum Named {
Escape,
Delete,
Space,
}Expand description
A key this app reads off the canvas. Chords are not among them — they go
through chord_of to the command registry instead.
Variants§
Escape
Delete
Delete or Backspace, which mean the same thing on the canvas.
Space
The key that turns a primary drag into a pan.
Trait Implementations§
impl Copy for Named
impl Eq for Named
impl StructuralPartialEq for Named
Auto Trait Implementations§
impl Freeze for Named
impl RefUnwindSafe for Named
impl Send for Named
impl Sync for Named
impl Unpin for Named
impl UnsafeUnpin for Named
impl UnwindSafe for Named
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.