Struct winit::platform_impl::platform::wayland::event_loop::EventLoopWindowTarget
source · pub struct EventLoopWindowTarget<T> {
pub display: Display,
pub env: Environment<WinitEnv>,
pub event_loop_handle: LoopHandle<'static, WinitState>,
pub output_manager: OutputManager,
pub state: RefCell<WinitState>,
pub wayland_dispatcher: Dispatcher<'static, WaylandSource, WinitState>,
pub event_loop_awakener: Ping,
pub windowing_features: WindowingFeatures,
pub theme_manager: ThemeManager,
_marker: PhantomData<T>,
}
Fields§
§display: Display
Wayland display.
env: Environment<WinitEnv>
Environment to handle object creation, etc.
event_loop_handle: LoopHandle<'static, WinitState>
Event loop handle.
output_manager: OutputManager
Output manager.
state: RefCell<WinitState>
State that we share across callbacks.
wayland_dispatcher: Dispatcher<'static, WaylandSource, WinitState>
Dispatcher of Wayland events.
event_loop_awakener: Ping
A proxy to wake up event loop.
windowing_features: WindowingFeatures
The available windowing features.
theme_manager: ThemeManager
Theme manager to manage cursors.
It’s being shared between all windows to avoid loading multiple similar themes.
_marker: PhantomData<T>
Implementations§
source§impl<T> EventLoopWindowTarget<T>
impl<T> EventLoopWindowTarget<T>
pub fn raw_display_handle(&self) -> RawDisplayHandle
source§impl<T> EventLoopWindowTarget<T>
impl<T> EventLoopWindowTarget<T>
pub fn display(&self) -> &Display
pub fn available_monitors(&self) -> VecDeque<MonitorHandle>
pub fn primary_monitor(&self) -> Option<PlatformMonitorHandle>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for EventLoopWindowTarget<T>
impl<T> !Send for EventLoopWindowTarget<T>
impl<T> !Sync for EventLoopWindowTarget<T>
impl<T> Unpin for EventLoopWindowTarget<T>where T: Unpin,
impl<T> !UnwindSafe for EventLoopWindowTarget<T>
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