pub struct Tag {
pub id: TagId,
pub ty: TypeId,
pub kind: TagKind,
pub name: Option<String>,
}Expand description
A tag in a WebAssembly module, used for exception handling.
Fields§
§id: TagIdThe id of this tag.
ty: TypeIdThe type signature of this tag (function type).
kind: TagKindThe kind of tag (imported or local).
name: Option<String>The name of this tag, used for debugging purposes in the name
custom section.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tag
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnwindSafe for Tag
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