Struct wasm_react::hooks::JsRefContainer
source · [−]pub struct JsRefContainer<T>(_, _);
Expand description
Allows access to the underlying JS data persisted with use_js_ref()
.
Implementations
sourceimpl<T: JsCast> JsRefContainer<T>
impl<T: JsCast> JsRefContainer<T>
Trait Implementations
sourceimpl<T> AsRef<JsValue> for JsRefContainer<T>
impl<T> AsRef<JsValue> for JsRefContainer<T>
sourceimpl<T> Clone for JsRefContainer<T>
impl<T> Clone for JsRefContainer<T>
sourceimpl<T> Debug for JsRefContainer<T>
impl<T> Debug for JsRefContainer<T>
sourceimpl<T> From<JsRefContainer<T>> for JsValue
impl<T> From<JsRefContainer<T>> for JsValue
sourcefn from(value: JsRefContainer<T>) -> Self
fn from(value: JsRefContainer<T>) -> Self
Converts to this type from the input type.
impl<T: 'static> Persisted for JsRefContainer<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for JsRefContainer<T> where
T: RefUnwindSafe,
impl<T> !Send for JsRefContainer<T>
impl<T> !Sync for JsRefContainer<T>
impl<T> Unpin for JsRefContainer<T> where
T: Unpin,
impl<T> UnwindSafe for JsRefContainer<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more