[][src]Struct breadx::auto::xinput::KeyEventFlags

#[repr(transparent)]pub struct KeyEventFlags {
    pub inner: u32,
}

Fields

inner: u32

Implementations

impl KeyEventFlags[src]

pub fn key_repeat(&self) -> bool[src]

pub fn set_key_repeat(&mut self, val: bool) -> &mut Self[src]

pub fn new(key_repeat: bool) -> Self[src]

pub fn count_ones(&self) -> usize[src]

Trait Implementations

impl AsByteSequence for KeyEventFlags[src]

impl BitAnd<KeyEventFlags> for KeyEventFlags[src]

type Output = KeyEventFlags

The resulting type after applying the & operator.

impl Clone for KeyEventFlags[src]

impl Copy for KeyEventFlags[src]

impl Debug for KeyEventFlags[src]

impl Default for KeyEventFlags[src]

impl Eq for KeyEventFlags[src]

impl Not for KeyEventFlags[src]

type Output = KeyEventFlags

The resulting type after applying the ! operator.

impl Ord for KeyEventFlags[src]

impl PartialEq<KeyEventFlags> for KeyEventFlags[src]

impl PartialOrd<KeyEventFlags> for KeyEventFlags[src]

impl StructuralEq for KeyEventFlags[src]

impl StructuralPartialEq for KeyEventFlags[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.