pub enum AzulUpdateEvent {
CreateWindow {
window_create_options: WindowCreateOptions,
},
CloseWindow {
window_id: WindowId,
},
DoHitTest {
window_id: WindowId,
},
RebuildUi {
window_id: WindowId,
},
RestyleUi {
window_id: WindowId,
skip_layout: bool,
},
RelayoutUi {
window_id: WindowId,
},
RebuildDisplayList {
window_id: WindowId,
},
SendDisplayListToWebRender {
window_id: WindowId,
},
UpdateScrollStates {
window_id: WindowId,
},
UpdateAnimations {
window_id: WindowId,
},
UpdateImages {
window_id: WindowId,
},
}
Expand description
Custom event type, to construct an EventLoop<AzulWindowUpdateEvent>
.
This is dispatched into the EventLoop
(to send a “custom” event)
Variants§
CreateWindow
Fields
§
window_create_options: WindowCreateOptions
CloseWindow
DoHitTest
RebuildUi
RestyleUi
RelayoutUi
RebuildDisplayList
SendDisplayListToWebRender
UpdateScrollStates
UpdateAnimations
UpdateImages
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AzulUpdateEvent
impl !RefUnwindSafe for AzulUpdateEvent
impl !Send for AzulUpdateEvent
impl !Sync for AzulUpdateEvent
impl Unpin for AzulUpdateEvent
impl !UnwindSafe for AzulUpdateEvent
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