pub enum SystemEvent {
WebRustCall(Option<WebRustCallEvent>),
Draw,
Paint,
WindowSetHoverCursor(MouseCursor),
}
Expand description
Events that are handled internally and are not propagated to an application handle
method.
Variants§
WebRustCall(Option<WebRustCallEvent>)
See WebRustCallEvent
. This event must have a handler registered through Cx::on_call_rust
.
Draw
Paint
We’re going to repaint our draw tree.
WindowSetHoverCursor(MouseCursor)
The system wants us to set a different mouse cursor.
Trait Implementations§
Source§impl Clone for SystemEvent
impl Clone for SystemEvent
Source§fn clone(&self) -> SystemEvent
fn clone(&self) -> SystemEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for SystemEvent
impl RefUnwindSafe for SystemEvent
impl Send for SystemEvent
impl Sync for SystemEvent
impl Unpin for SystemEvent
impl UnwindSafe for SystemEvent
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