Struct pc_keyboard::Modifiers
source · pub struct Modifiers {
pub lshift: bool,
pub rshift: bool,
pub numlock: bool,
pub capslock: bool,
pub alt_gr: bool,
}
Fields
lshift: bool
rshift: bool
numlock: bool
capslock: bool
alt_gr: bool
Implementations
sourceimpl Modifiers
impl Modifiers
pub fn is_shifted(&self) -> bool
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Modifiers
impl Send for Modifiers
impl Sync for Modifiers
impl Unpin for Modifiers
impl UnwindSafe for Modifiers
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more