Struct riddle_input::InputMainThreadState[][src]

pub struct InputMainThreadState { /* fields omitted */ }

The portion of the input system that needs to remain on a single thread.

Constructed paired with its thread-safe counterpart via ext::InputSystemExt::new_shared.

Implementations

impl InputMainThreadState[src]

pub fn process_input(&mut self)[src]

Process all input sources, updating the static view of the known input devices.

This may produce InputEvents which can be consumed via ext::InputSystemExt::take_input_events.

Auto Trait Implementations

impl !RefUnwindSafe for InputMainThreadState

impl Send for InputMainThreadState

impl !Sync for InputMainThreadState

impl Unpin for InputMainThreadState

impl !UnwindSafe for InputMainThreadState

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, 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.