[][src]Struct blinds::Modifiers

pub struct Modifiers {
    pub shift: bool,
    pub ctrl: bool,
    pub alt: bool,
    pub logo: bool,
}

The active keyboard modifiers (shift, ctrl, etc.) when an event was dispatched

Fields

shift: boolctrl: boolalt: bool

Windows, Command, etc.

Trait Implementations

impl Clone for Modifiers[src]

impl Copy for Modifiers[src]

impl Debug for Modifiers[src]

impl Eq for Modifiers[src]

impl From<ModifiersState> for Modifiers[src]

impl Hash for Modifiers[src]

impl PartialEq<Modifiers> for Modifiers[src]

impl StructuralEq for Modifiers[src]

impl StructuralPartialEq for Modifiers[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.