[−][src]Struct sixtyfps_corelib::eventloop::EventLoop
This is the main structure to hold the event loop responsible for delegating events from the windowing system to the individual windows managed by the run-time, and then subsequently to the items. These are typically rendering and input events.
Implementations
impl EventLoop
[src]
pub fn new() -> Self
[src]
Returns a new instance of the event loop, backed by a winit eventloop.
pub fn run(self)
[src]
Runs the event loop and renders the items in the provided component
in its
own window.
pub fn get_winit_event_loop(&self) -> &EventLoop<CustomEvent>
[src]
Returns a reference to the backing winit event loop.
Auto Trait Implementations
impl !RefUnwindSafe for EventLoop
[src]
impl !Send for EventLoop
[src]
impl !Sync for EventLoop
[src]
impl Unpin for EventLoop
[src]
impl !UnwindSafe for EventLoop
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
pub 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>,