pub struct PassedToJsRuntime {
pub js_value: JsValue,
pub to_persist: Option<Box<dyn Any>>,
}
Fields§
§js_value: JsValue
§to_persist: Option<Box<dyn Any>>
Auto Trait Implementations§
impl Freeze for PassedToJsRuntime
impl !RefUnwindSafe for PassedToJsRuntime
impl !Send for PassedToJsRuntime
impl !Sync for PassedToJsRuntime
impl Unpin for PassedToJsRuntime
impl !UnwindSafe for PassedToJsRuntime
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