pub struct WasmInterfaceTypes {
pub types: Types,
pub imports: Imports,
pub implements: Implements,
pub exports: Exports,
pub funcs: Funcs,
}Fields§
§types: Types§imports: Imports§implements: Implements§exports: Exports§funcs: FuncsImplementations§
Trait Implementations§
Source§impl CustomSection for WasmInterfaceTypes
impl CustomSection for WasmInterfaceTypes
Source§fn data(&self, indices: &IdsToIndices) -> Cow<'_, [u8]>
fn data(&self, indices: &IdsToIndices) -> Cow<'_, [u8]>
Get the data payload for this custom section. Read more
Source§fn add_gc_roots(&self, roots: &mut Roots)
fn add_gc_roots(&self, roots: &mut Roots)
Add any core wasm roots to the provided
roots argument. Read moreSource§fn apply_code_transform(&mut self, transform: &Vec<(InstrLocId, usize)>)
fn apply_code_transform(&mut self, transform: &Vec<(InstrLocId, usize)>)
Apply the given code transformations to this custom section. Read more
Source§impl Debug for WasmInterfaceTypes
impl Debug for WasmInterfaceTypes
Source§impl Default for WasmInterfaceTypes
impl Default for WasmInterfaceTypes
Source§fn default() -> WasmInterfaceTypes
fn default() -> WasmInterfaceTypes
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WasmInterfaceTypes
impl RefUnwindSafe for WasmInterfaceTypes
impl Send for WasmInterfaceTypes
impl Sync for WasmInterfaceTypes
impl Unpin for WasmInterfaceTypes
impl UnwindSafe for WasmInterfaceTypes
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