pub enum KeymapConflictKind {
Redundant,
Override,
Unbind,
}Variants§
Redundant
Multiple bindings exist, but they all resolve to the same command payload.
Override
Later bindings override earlier ones (last-wins) with a different command payload.
Unbind
At least one binding explicitly unbinds (command: null), shadowing earlier bindings.
Trait Implementations§
Source§impl Clone for KeymapConflictKind
impl Clone for KeymapConflictKind
Source§fn clone(&self) -> KeymapConflictKind
fn clone(&self) -> KeymapConflictKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for KeymapConflictKind
Source§impl Debug for KeymapConflictKind
impl Debug for KeymapConflictKind
impl Eq for KeymapConflictKind
Source§impl PartialEq for KeymapConflictKind
impl PartialEq for KeymapConflictKind
Source§fn eq(&self, other: &KeymapConflictKind) -> bool
fn eq(&self, other: &KeymapConflictKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for KeymapConflictKind
Auto Trait Implementations§
impl Freeze for KeymapConflictKind
impl RefUnwindSafe for KeymapConflictKind
impl Send for KeymapConflictKind
impl Sync for KeymapConflictKind
impl Unpin for KeymapConflictKind
impl UnsafeUnpin for KeymapConflictKind
impl UnwindSafe for KeymapConflictKind
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