[][src]Struct winconsole::input::InputFilter

pub struct InputFilter {
    pub None: bool,
    pub Focused: bool,
    pub FocusLost: bool,
    pub KeyHeld: bool,
    pub KeyDown: bool,
    pub KeyUp: bool,
    pub MouseDown: bool,
    pub MouseMove: bool,
    pub MouseUp: bool,
    pub MouseWheel: bool,
    pub Resize: bool,
}

Flags used to store the state of InputEvent filters.

Fields

None: bool

Should InputEvent::None be ignored?

Focused: bool

Should InputEvent::Focused be ignored?

FocusLost: bool

Should InputEvent::FocusLost be ignored?

KeyHeld: bool

Should InputEvent::KeyHeld be ignored?

KeyDown: bool

Should InputEvent::KeyDown be ignored?

KeyUp: bool

Should InputEvent::KeyUp be ignored?

MouseDown: bool

Should InputEvent::MouseDown be ignored?

MouseMove: bool

Should InputEvent::MouseMove be ignored?

MouseUp: bool

Should InputEvent::MouseUp be ignored?

MouseWheel: bool

Should InputEvent::MouseWheel be ignored?

Resize: bool

Should InputEvent::Resize be ignored?

Trait Implementations

impl PartialEq<InputFilter> for InputFilter[src]

impl From<u16> for InputFilter[src]

impl Clone for InputFilter[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for InputFilter[src]

fn default() -> InputFilter[src]

Creates a new InputFilter object with all fields set to false.

impl Into<u16> for InputFilter[src]

impl Copy for InputFilter[src]

impl Display for InputFilter[src]

impl Debug for InputFilter[src]

impl Serialize for InputFilter[src]

impl<'de> Deserialize<'de> for InputFilter[src]

Auto Trait Implementations

impl Send for InputFilter

impl Sync for InputFilter

Blanket Implementations

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

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.

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]