Enum egui_keybinds::keycodes::KeyModifier
source · pub enum KeyModifier {
CtrlCmd,
AltOpt,
Shift,
Function,
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for KeyModifier
impl Clone for KeyModifier
source§fn clone(&self) -> KeyModifier
fn clone(&self) -> KeyModifier
Returns a copy 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 Hash for KeyModifier
impl Hash for KeyModifier
source§impl Ord for KeyModifier
impl Ord for KeyModifier
source§fn cmp(&self, other: &KeyModifier) -> Ordering
fn cmp(&self, other: &KeyModifier) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<KeyModifier> for KeyModifier
impl PartialEq<KeyModifier> for KeyModifier
source§fn eq(&self, other: &KeyModifier) -> bool
fn eq(&self, other: &KeyModifier) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<KeyModifier> for KeyModifier
impl PartialOrd<KeyModifier> for KeyModifier
source§fn partial_cmp(&self, other: &KeyModifier) -> Option<Ordering>
fn partial_cmp(&self, other: &KeyModifier) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more