pub struct WebRustCallEvent {
pub name: String,
pub params: Vec<ZapParam>,
pub callback_id: u32,
}
Expand description
Fires when a web worker calls callRust
to trigger a function in Rust.
Fields§
§name: String
Description of the event.
params: Vec<ZapParam>
§callback_id: u32
Trait Implementations§
Source§impl Clone for WebRustCallEvent
impl Clone for WebRustCallEvent
Source§fn clone(&self) -> WebRustCallEvent
fn clone(&self) -> WebRustCallEvent
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 WebRustCallEvent
impl RefUnwindSafe for WebRustCallEvent
impl Send for WebRustCallEvent
impl Sync for WebRustCallEvent
impl Unpin for WebRustCallEvent
impl UnwindSafe for WebRustCallEvent
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