pub struct WebViewEventPayload {
pub window_id_owner: TeksiloWindowId,
pub web_view_id: WebViewId,
pub event: WebViewEvent,
}Expand description
Boxed inside AppEvent::External when a backend produces an event.
teksilo-app’s app-event handler downcasts to this type and routes to
WebViewRegistry::deliver. Mirrors FileDialogEventPayload.
Fields§
§window_id_owner: TeksiloWindowIdThe window the web view lives in — routes delivery to the right tree.
web_view_id: WebViewIdWhich web view the event belongs to.
event: WebViewEventThe event itself.
Auto Trait Implementations§
impl Freeze for WebViewEventPayload
impl RefUnwindSafe for WebViewEventPayload
impl Send for WebViewEventPayload
impl Sync for WebViewEventPayload
impl Unpin for WebViewEventPayload
impl UnsafeUnpin for WebViewEventPayload
impl UnwindSafe for WebViewEventPayload
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