Struct Tag

#[repr(transparent)]
pub struct Tag { /* private fields */ }

The WebAssembly.Tag() constructor creates a new Tag object

MDN documentation

Implementations

impl Tag

fn new(tag_descriptor: &Object) -> Result<Tag, JsValue>

The WebAssembly.Tag() constructor creates a new Tag object

MDN documentation

Trait Implementations

impl AsRef<JsValue> for Tag

fn as_ref(&self) -> &JsValue

impl AsRef<Object> for Tag

fn as_ref(&self) -> &Object

impl AsRef<Tag> for Tag

fn as_ref(&self) -> &Tag

impl Clone for Tag

fn clone(&self) -> Self

impl Debug for Tag

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Deref for Tag

type Target = Object;
fn deref(&self) -> &Object

impl Eq for Tag

impl ErasableGeneric for Tag

type Repr = JsValue;

impl From<JsValue> for Tag

fn from(obj: JsValue) -> Self

impl FromWasmAbi for Tag

type Abi = <JsValue as FromWasmAbi>::Abi;
unsafe fn from_abi(js: Self::Abi) -> Self

impl IntoJsGeneric for Tag where Tag: JsGeneric,

type JsCanon = Tag;
fn to_js(self) -> Tag

impl IntoWasmAbi for Tag

type Abi = <JsValue as IntoWasmAbi>::Abi;
fn into_abi(self) -> Self::Abi

impl JsCast for Tag

fn instanceof(val: &JsValue) -> bool
fn unchecked_from_js(val: JsValue) -> Self
fn unchecked_from_js_ref(val: &JsValue) -> &Self

impl LongRefFromWasmAbi for Tag

type Abi = <JsValue as LongRefFromWasmAbi>::Abi;
type Anchor = Tag;
unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor

impl OptionFromWasmAbi for Tag

fn is_none(abi: &Self::Abi) -> bool

impl OptionIntoWasmAbi for Tag

fn none() -> Self::Abi

impl PartialEq for Tag

fn eq(&self, other: &Self) -> bool

impl Promising for Tag

type Resolution = Tag;

impl RefFromWasmAbi for Tag

type Abi = <JsValue as RefFromWasmAbi>::Abi;
type Anchor = ManuallyDrop<Tag>;
unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor

impl StructuralPartialEq for Tag

impl UpcastFrom<Tag> for Tag

impl WasmDescribe for Tag

fn describe()

Auto Trait Implementations

impl Freeze for Tag

impl RefUnwindSafe for Tag

impl Send for Tag

impl Sync for Tag

impl Unpin for Tag

impl UnsafeUnpin for Tag

impl UnwindSafe for Tag

Blanket Implementations

impl<P, T> Receiver for Tag where P: Deref<Target = T> + ?Sized, T: ?Sized,

impl<S, T> Upcast<T> for Tag where T: UpcastFrom<S> + ?Sized, S: ?Sized,

impl<T> Any for Tag where T: 'static + ?Sized,

impl<T> Borrow<T> for Tag where T: ?Sized,

impl<T> BorrowMut<T> for Tag where T: ?Sized,

impl<T> CloneToUninit for Tag where T: Clone,

impl<T> From<T> for Tag

impl<T> JsGeneric for Tag where T: ErasableGeneric<Repr = JsValue> + UpcastFrom<T> + Upcast<JsValue> + JsCast + 'static,

impl<T> ReturnWasmAbi for Tag where T: IntoWasmAbi,

impl<T> ToOwned for Tag where T: Clone,

impl<T> TryFromJsValue for Tag where T: JsCast,

impl<T> VectorFromWasmAbi for Tag where T: ErasableGeneric<Repr = JsValue> + WasmDescribe,

impl<T> VectorIntoWasmAbi for Tag where T: ErasableGeneric<Repr = JsValue> + WasmDescribe,

impl<T> VectorRefIntoWasmAbi for Tag where &'a T: for<'a> Into<JsValue>,

impl<T, U> Into<U> for Tag where U: From<T>,

impl<T, U> TryFrom<U> for Tag where U: Into<T>,

impl<T, U> TryInto<U> for Tag where U: TryFrom<T>,