pub struct AppKeyModifiers {
pub control: bool,
pub alt: bool,
pub shift: bool,
}Expand description
Runtime customization surface for advanced integrations. Key modifiers used by keyboard and mouse events.
Fields§
§control: boolCtrl was pressed.
alt: boolAlt was pressed.
shift: boolShift was pressed.
Trait Implementations§
Source§impl Clone for AppKeyModifiers
impl Clone for AppKeyModifiers
Source§fn clone(&self) -> AppKeyModifiers
fn clone(&self) -> AppKeyModifiers
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 moreSource§impl Debug for AppKeyModifiers
impl Debug for AppKeyModifiers
Source§impl Default for AppKeyModifiers
impl Default for AppKeyModifiers
Source§fn default() -> AppKeyModifiers
fn default() -> AppKeyModifiers
Returns the “default value” for a type. Read more
Source§impl From<KeyModifiers> for AppKeyModifiers
impl From<KeyModifiers> for AppKeyModifiers
Source§fn from(value: KeyModifiers) -> Self
fn from(value: KeyModifiers) -> Self
Converts to this type from the input type.
Source§impl Hash for AppKeyModifiers
impl Hash for AppKeyModifiers
Source§impl PartialEq for AppKeyModifiers
impl PartialEq for AppKeyModifiers
Source§fn eq(&self, other: &AppKeyModifiers) -> bool
fn eq(&self, other: &AppKeyModifiers) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AppKeyModifiers
impl Eq for AppKeyModifiers
impl StructuralPartialEq for AppKeyModifiers
Auto Trait Implementations§
impl Freeze for AppKeyModifiers
impl RefUnwindSafe for AppKeyModifiers
impl Send for AppKeyModifiers
impl Sync for AppKeyModifiers
impl Unpin for AppKeyModifiers
impl UnsafeUnpin for AppKeyModifiers
impl UnwindSafe for AppKeyModifiers
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more