Enum wasm_encoder::component::CanonicalOption [−][src]
Expand description
Represents options for canonical functions and adapter functions.
Variants
UTF8
The string types in the function signature are UTF-8 encoded.
UTF16
The string types in the function signature are UTF-16 encoded.
CompactUTF16
The string types in the function signature are compact UTF-16 encoded.
WithRealloc(u32)
Tuple Fields
0: u32
Specifies the function to use to reallocate memory.
WithFree(u32)
Tuple Fields
0: u32
Specifies the function to use to free memory.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CanonicalOption
impl Send for CanonicalOption
impl Sync for CanonicalOption
impl Unpin for CanonicalOption
impl UnwindSafe for CanonicalOption
Blanket Implementations
Mutably borrows from an owned value. Read more