pub enum UserEvent {
RequestRepaint {
viewport_id: ViewportId,
when: Instant,
frame_nr: u64,
},
AccessKitActionRequest(ActionRequestEvent),
}Expand description
The custom even eframe uses with the winit event loop.
Variants§
RequestRepaint
Fields
§
viewport_id: ViewportIdWhat to repaint.
A repaint is requested.
AccessKitActionRequest(ActionRequestEvent)
A request related to accesskit.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for UserEvent
impl Send for UserEvent
impl Sync for UserEvent
impl Unpin for UserEvent
impl UnwindSafe for UserEvent
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