pub struct ExternAny { /* private fields */ }Implementations§
Source§impl ExternAny
impl ExternAny
pub const fn from_js_value(value: JsValue) -> Self
pub const fn from_js_value_ref(value: &JsValue) -> &Self
pub const fn as_js_value(&self) -> &JsValue
pub fn into_js_value(self) -> JsValue
pub const fn new_null() -> Self
pub const fn new_undefined() -> Self
pub const fn new_true() -> Self
pub const fn new_false() -> Self
pub fn new_symbol(desc: Option<&str>) -> Self
pub fn from_str(value: &str) -> Self
pub fn from_f64(value: f64) -> Self
Auto Trait Implementations§
impl Freeze for ExternAny
impl RefUnwindSafe for ExternAny
impl Send for ExternAny
impl Sync for ExternAny
impl Unpin for ExternAny
impl UnsafeUnpin 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