pub struct JsRefContainer<T>(/* private fields */);
Expand description
Allows access to the underlying JS data persisted with use_js_ref()
.
Implementations§
Source§impl<T: JsCast> JsRefContainer<T>
impl<T: JsCast> JsRefContainer<T>
Trait Implementations§
Source§impl<T> AsRef<JsValue> for JsRefContainer<T>
impl<T> AsRef<JsValue> for JsRefContainer<T>
Source§impl<T> Clone for JsRefContainer<T>
impl<T> Clone for JsRefContainer<T>
Source§impl<T> Debug for JsRefContainer<T>
impl<T> Debug for JsRefContainer<T>
Source§impl<T> From<JsRefContainer<T>> for JsValue
impl<T> From<JsRefContainer<T>> for JsValue
Source§fn from(value: JsRefContainer<T>) -> Self
fn from(value: JsRefContainer<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for JsRefContainer<T>
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§
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