pub struct ModState {
pub ctrl: bool,
pub alt: bool,
pub shift: bool,
}Expand description
現在押されている修飾キーの状態
Fields§
§ctrl: bool§alt: bool§shift: boolImplementations§
Trait Implementations§
impl Copy for ModState
impl Eq for ModState
impl StructuralPartialEq for ModState
Auto Trait Implementations§
impl Freeze for ModState
impl RefUnwindSafe for ModState
impl Send for ModState
impl Sync for ModState
impl Unpin for ModState
impl UnsafeUnpin for ModState
impl UnwindSafe for ModState
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.