Struct Tag
#[repr(transparent)]
pub struct Tag { /* private fields */ }
The WebAssembly.Tag() constructor creates a new Tag object
Implementations
impl Tag
fn new(tag_descriptor: &Object) -> Result<Tag, JsValue>The
WebAssembly.Tag()constructor creates a newTagobject
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) -> boolfn unchecked_from_js(val: JsValue) -> Selffn 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()