pub struct CopyingTypeLayouts;Expand description
The layout of Wasm GC objects in the copying collector.
Trait Implementations§
Source§impl Default for CopyingTypeLayouts
impl Default for CopyingTypeLayouts
Source§fn default() -> CopyingTypeLayouts
fn default() -> CopyingTypeLayouts
Returns the “default value” for a type. Read more
Source§impl GcTypeLayouts for CopyingTypeLayouts
impl GcTypeLayouts for CopyingTypeLayouts
Source§fn array_length_field_offset(&self) -> u32
fn array_length_field_offset(&self) -> u32
The offset of an array’s length field. Read more
Source§fn exception_tag_instance_offset(&self) -> u32
fn exception_tag_instance_offset(&self) -> u32
The offset of an exception object’s tag reference: defining
instance index field. Read more
Source§fn exception_tag_defined_offset(&self) -> u32
fn exception_tag_defined_offset(&self) -> u32
The offset of an exception object’s tag reference: defined tag
index field. Read more
Source§fn array_layout(&self, ty: &WasmArrayType) -> GcArrayLayout
fn array_layout(&self, ty: &WasmArrayType) -> GcArrayLayout
Get this collector’s layout for the given array type.
Source§fn struct_layout(&self, ty: &WasmStructType) -> GcStructLayout
fn struct_layout(&self, ty: &WasmStructType) -> GcStructLayout
Get this collector’s layout for the given struct type.
Source§fn exn_layout(&self, ty: &WasmExnType) -> GcStructLayout
fn exn_layout(&self, ty: &WasmExnType) -> GcStructLayout
Get this collector’s layout for the given exception type.
Auto Trait Implementations§
impl Freeze for CopyingTypeLayouts
impl RefUnwindSafe for CopyingTypeLayouts
impl Send for CopyingTypeLayouts
impl Sync for CopyingTypeLayouts
impl Unpin for CopyingTypeLayouts
impl UnsafeUnpin for CopyingTypeLayouts
impl UnwindSafe for CopyingTypeLayouts
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