[−][src]Struct crossterm_winapi::InputRecord
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.
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]
fn from(event: INPUT_RECORD) -> Self
[src]
impl Clone for InputRecord
[src]
fn clone(&self) -> InputRecord
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl Send for InputRecord
impl Sync for InputRecord
impl Unpin for InputRecord
impl UnwindSafe for InputRecord
impl RefUnwindSafe for InputRecord
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,