Struct pilka_winit::winit::platform::unix::x11::EventLoop[][src]

pub struct EventLoop<T> where
    T: 'static, 
{ /* fields omitted */ }

Implementations

impl<T> EventLoop<T> where
    T: 'static, 
[src]

pub fn new(xconn: Arc<XConnection>) -> EventLoop<T>[src]

pub fn create_proxy(&self) -> EventLoopProxy<T>[src]

pub fn run_return<F>(&mut self, callback: F) where
    F: FnMut(Event<'_, T>, &EventLoopWindowTarget<T>, &mut ControlFlow), 
[src]

pub fn run<F>(self, callback: F) -> ! where
    F: 'static + FnMut(Event<'_, T>, &EventLoopWindowTarget<T>, &mut ControlFlow), 
[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for EventLoop<T>[src]

impl<T> !Send for EventLoop<T>[src]

impl<T> !Sync for EventLoop<T>[src]

impl<T> Unpin for EventLoop<T>[src]

impl<T> !UnwindSafe for EventLoop<T>[src]

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.