pub struct DrcTypeLayouts;
Expand description
The layout of Wasm GC objects in the deferred reference-counting collector.
Trait Implementations§
source§impl Default for DrcTypeLayouts
impl Default for DrcTypeLayouts
source§fn default() -> DrcTypeLayouts
fn default() -> DrcTypeLayouts
Returns the “default value” for a type. Read more
source§impl GcTypeLayouts for DrcTypeLayouts
impl GcTypeLayouts for DrcTypeLayouts
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 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.
Auto Trait Implementations§
impl Freeze for DrcTypeLayouts
impl RefUnwindSafe for DrcTypeLayouts
impl Send for DrcTypeLayouts
impl Sync for DrcTypeLayouts
impl Unpin for DrcTypeLayouts
impl UnwindSafe for DrcTypeLayouts
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