pub enum Mangling {
Standard32,
Legacy,
}
Expand description
Possible forms of name mangling that are supported by this crate.
Variants§
Standard32
The “standard” component model mangling format for 32-bit linear memories. This is specified in WebAssembly/component-model#378
Legacy
The “legacy” name mangling supported in versions 218-and-prior for this crate. This is the original support for how components were created from core wasm modules and this does not correspond to any standard. This is preserved for now while tools transition to the new scheme.
Trait Implementations§
impl Copy for Mangling
impl Eq for Mangling
impl StructuralPartialEq for Mangling
Auto Trait Implementations§
impl Freeze for Mangling
impl RefUnwindSafe for Mangling
impl Send for Mangling
impl Sync for Mangling
impl Unpin for Mangling
impl UnwindSafe for Mangling
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.