pub struct EventLoop {
pub android_app: AndroidApp,
/* private fields */
}Fields§
§android_app: AndroidAppImplementations§
Source§impl EventLoop
impl EventLoop
pub fn new( attributes: &PlatformSpecificEventLoopAttributes, ) -> Result<Self, EventLoopError>
pub fn window_target(&self) -> &dyn RootActiveEventLoop
pub fn run_app_on_demand<A: ApplicationHandler>( &mut self, app: A, ) -> Result<(), EventLoopError>
pub fn pump_app_events<A: ApplicationHandler>( &mut self, timeout: Option<Duration>, app: A, ) -> PumpStatus
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for EventLoop
impl !RefUnwindSafe for EventLoop
impl Send for EventLoop
impl !Sync for EventLoop
impl Unpin for EventLoop
impl UnwindSafe for EventLoop
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more