pub struct UserSubtype {
pub ty: Type,
pub to_string_func: u32,
pub to_json_func: u32,
pub equals_func: u32,
pub hash_func: u32,
pub guarded_bodies: GuardedBodies,
pub vtable_global_idx: u32,
}Expand description
Emitted artifacts for one user subtype. The Wasm struct type is shared by arity; the vtable global is shape-specialized and carries the shape-specific behavior.
Fields§
§ty: Type§to_string_func: u32§to_json_func: u32§equals_func: u32§hash_func: u32§guarded_bodies: GuardedBodies§vtable_global_idx: u32Trait Implementations§
Source§impl Clone for UserSubtype
impl Clone for UserSubtype
Auto Trait Implementations§
impl Freeze for UserSubtype
impl RefUnwindSafe for UserSubtype
impl Send for UserSubtype
impl Sync for UserSubtype
impl Unpin for UserSubtype
impl UnsafeUnpin for UserSubtype
impl UnwindSafe for UserSubtype
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