pub enum PressableKeyActivation {
EnterAndSpace,
EnterOnly,
}Variants§
EnterAndSpace
Activate on Enter/NumpadEnter and Space (button-like default).
EnterOnly
Activate on Enter/NumpadEnter only (link-like).
Implementations§
Trait Implementations§
Source§impl Clone for PressableKeyActivation
impl Clone for PressableKeyActivation
Source§fn clone(&self) -> PressableKeyActivation
fn clone(&self) -> PressableKeyActivation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PressableKeyActivation
impl Debug for PressableKeyActivation
Source§impl Default for PressableKeyActivation
impl Default for PressableKeyActivation
Source§fn default() -> PressableKeyActivation
fn default() -> PressableKeyActivation
Returns the “default value” for a type. Read more
Source§impl PartialEq for PressableKeyActivation
impl PartialEq for PressableKeyActivation
impl Copy for PressableKeyActivation
impl Eq for PressableKeyActivation
impl StructuralPartialEq for PressableKeyActivation
Auto Trait Implementations§
impl Freeze for PressableKeyActivation
impl RefUnwindSafe for PressableKeyActivation
impl Send for PressableKeyActivation
impl Sync for PressableKeyActivation
impl Unpin for PressableKeyActivation
impl UnsafeUnpin for PressableKeyActivation
impl UnwindSafe for PressableKeyActivation
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