pub struct WaylandEventLoop {
pub window: WaylandWindow,
pub control: EventLoopControl,
}Expand description
Pure-Rust Wayland native event loop driving event dispatch and frame pacing.
Fields§
§window: WaylandWindow§control: EventLoopControlImplementations§
Source§impl WaylandEventLoop
impl WaylandEventLoop
Sourcepub fn new(window: WaylandWindow) -> WaylandEventLoop
pub fn new(window: WaylandWindow) -> WaylandEventLoop
Creates a new event loop driving the given Wayland window.
Trait Implementations§
Auto Trait Implementations§
impl !Send for WaylandEventLoop
impl !Sync for WaylandEventLoop
impl Forget for WaylandEventLoop
impl Freeze for WaylandEventLoop
impl Move for WaylandEventLoop
impl RefUnwindSafe for WaylandEventLoop
impl Unpin for WaylandEventLoop
impl UnsafeUnpin for WaylandEventLoop
impl UnwindSafe for WaylandEventLoop
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