pub struct ActiveEventLoop { /* private fields */ }Trait Implementations§
Source§impl ActiveEventLoop for ActiveEventLoop
impl ActiveEventLoop for ActiveEventLoop
Source§fn create_proxy(&self) -> CoreEventLoopProxy
fn create_proxy(&self) -> CoreEventLoopProxy
Creates an
EventLoopProxy that can be used to dispatch user events
to the main event loop, possibly from another thread.Source§fn create_window(
&self,
window_attributes: WindowAttributes,
) -> Result<Box<dyn CoreWindow>, RequestError>
fn create_window( &self, window_attributes: WindowAttributes, ) -> Result<Box<dyn CoreWindow>, RequestError>
Create the window. Read more
Source§fn create_custom_cursor(
&self,
_source: CustomCursorSource,
) -> Result<CustomCursor, RequestError>
fn create_custom_cursor( &self, _source: CustomCursorSource, ) -> Result<CustomCursor, RequestError>
Create custom cursor. Read more
Source§fn available_monitors(&self) -> Box<dyn Iterator<Item = CoreMonitorHandle>>
fn available_monitors(&self) -> Box<dyn Iterator<Item = CoreMonitorHandle>>
Returns the list of all the monitors available on the system. Read more
Source§fn primary_monitor(&self) -> Option<CoreMonitorHandle>
fn primary_monitor(&self) -> Option<CoreMonitorHandle>
Returns the primary monitor of the system. Read more
Source§fn listen_device_events(&self, _allowed: DeviceEvents)
fn listen_device_events(&self, _allowed: DeviceEvents)
Change if or when
DeviceEvents are captured. Read moreSource§fn set_control_flow(&self, control_flow: ControlFlow)
fn set_control_flow(&self, control_flow: ControlFlow)
Sets the
ControlFlow.Source§fn control_flow(&self) -> ControlFlow
fn control_flow(&self) -> ControlFlow
Gets the current
ControlFlow.Source§fn owned_display_handle(&self) -> CoreOwnedDisplayHandle
fn owned_display_handle(&self) -> CoreOwnedDisplayHandle
Gets a persistent reference to the underlying platform display. Read more
Source§fn rwh_06_handle(&self) -> &dyn HasDisplayHandle
fn rwh_06_handle(&self) -> &dyn HasDisplayHandle
Get the raw-window-handle handle.
Source§impl Debug for ActiveEventLoop
impl Debug for ActiveEventLoop
Source§impl HasDisplayHandle for ActiveEventLoop
impl HasDisplayHandle for ActiveEventLoop
Source§fn display_handle(&self) -> Result<DisplayHandle<'_>, HandleError>
fn display_handle(&self) -> Result<DisplayHandle<'_>, HandleError>
Get a handle to the display controller of the windowing system.
Auto Trait Implementations§
impl !Freeze for ActiveEventLoop
impl !RefUnwindSafe for ActiveEventLoop
impl Send for ActiveEventLoop
impl !Sync for ActiveEventLoop
impl Unpin for ActiveEventLoop
impl UnwindSafe for ActiveEventLoop
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
Source§impl<T> HasRawDisplayHandle for Twhere
T: HasDisplayHandle + ?Sized,
impl<T> HasRawDisplayHandle for Twhere
T: HasDisplayHandle + ?Sized,
Source§fn raw_display_handle(&self) -> Result<RawDisplayHandle, HandleError>
fn raw_display_handle(&self) -> Result<RawDisplayHandle, HandleError>
👎Deprecated: Use
HasDisplayHandle instead