Struct glutin::event_loop::EventLoopWindowTarget
source · pub struct EventLoopWindowTarget<T>where
T: 'static,{ /* private fields */ }
Expand description
Target that associates windows with an EventLoop
.
This type exists to allow you to create new windows while Winit executes
your callback. EventLoop
will coerce into this type (impl<T> Deref for EventLoop<T>
), so functions that take this as a parameter can also take
&EventLoop
.
Trait Implementations§
source§impl<T> Debug for EventLoopWindowTarget<T>
impl<T> Debug for EventLoopWindowTarget<T>
source§impl<T> EventLoopWindowTargetExtUnix for EventLoopWindowTarget<T>
impl<T> EventLoopWindowTargetExtUnix for EventLoopWindowTarget<T>
source§fn is_wayland(&self) -> bool
fn is_wayland(&self) -> bool
True if the
EventLoopWindowTarget
uses Wayland.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