pub struct ExternAny { /* private fields */ }
Implementations§
Source§impl ExternAny
impl ExternAny
pub fn from_js_value(value: JsValue) -> Self
pub fn from_js_value_ref(value: &JsValue) -> &Self
pub fn as_js_value(&self) -> &JsValue
pub fn into_js_value(self) -> JsValue
pub fn from_str(s: &str) -> Self
pub fn do_typeof(&self) -> Self
Trait Implementations§
Source§impl<'h> Slot<ValueSlot<'h>> for &'h ExternAny
impl<'h> Slot<ValueSlot<'h>> for &'h ExternAny
Auto Trait Implementations§
impl Freeze for ExternAny
impl RefUnwindSafe for ExternAny
impl !Send for ExternAny
impl !Sync for ExternAny
impl Unpin for ExternAny
impl UnwindSafe for ExternAny
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