[][src]Struct crossterm_winapi::InputRecord

pub struct InputRecord {
    pub event_type: InputEventType,
    pub event: INPUT_RECORD_Event,
}

Describes an input event in the console input buffer. These records can be read from the input buffer by using the ReadConsoleInput or PeekConsoleInput function, or written to the input buffer by using the WriteConsoleInput function.

Ms Docs

Fields

event_type: InputEventType

A handle to the type of input event and the event record stored in the Event member.

event: INPUT_RECORD_Event

The event information. The format of this member depends on the event type specified by the EventType member. Todo: wrap with rust type.

Trait Implementations

impl From<INPUT_RECORD> for InputRecord[src]

impl Clone for InputRecord[src]

Auto Trait Implementations

Blanket Implementations

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

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, 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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