pub struct ModifiersState {
pub shift: bool,
pub ctrl: bool,
pub alt: bool,
pub logo: bool,
}Fields§
§shift: bool§ctrl: bool§alt: bool§logo: boolTrait Implementations§
Source§impl Clone for ModifiersState
impl Clone for ModifiersState
Source§fn clone(&self) -> ModifiersState
fn clone(&self) -> ModifiersState
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 ModifiersState
impl Debug for ModifiersState
Source§impl Default for ModifiersState
impl Default for ModifiersState
Source§fn default() -> ModifiersState
fn default() -> ModifiersState
Returns the “default value” for a type. Read more
Source§impl PartialEq for ModifiersState
impl PartialEq for ModifiersState
Source§fn eq(&self, other: &ModifiersState) -> bool
fn eq(&self, other: &ModifiersState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ModifiersState
impl StructuralPartialEq for ModifiersState
Auto Trait Implementations§
impl Freeze for ModifiersState
impl RefUnwindSafe for ModifiersState
impl Send for ModifiersState
impl Sync for ModifiersState
impl Unpin for ModifiersState
impl UnsafeUnpin for ModifiersState
impl UnwindSafe for ModifiersState
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