[][src]Struct sardonyx_window::EventsLoopSystem

pub struct EventsLoopSystem { /* fields omitted */ }

System that polls the window events and pushes them to appropriate event channels.

This system must be active for any GameState to receive any StateEvent::Window event into it's handle_event method.

Methods

impl EventsLoopSystem[src]

pub fn new(events_loop: EventsLoop) -> Self[src]

Creates a new EventsLoopSystem using the provided EventsLoop

Trait Implementations

impl Debug for EventsLoopSystem[src]

impl<'a> RunNow<'a> for EventsLoopSystem[src]

fn dispose(self: Box<Self>, world: &mut World)

Performs clean up that requires resources from the World. This commonly removes components from world which depend on external resources. Read more

Auto Trait Implementations

Blanket Implementations

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.

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]

impl<'a, T> RunNow<'a> for T where
    T: System<'a>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> Any for T where
    T: Any

impl<T> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.