pub struct CanonicalOptions {
pub instance: RuntimeComponentInstanceIndex,
pub string_encoding: StringEncoding,
pub memory: Option<RuntimeMemoryIndex>,
pub realloc: Option<RuntimeReallocIndex>,
pub post_return: Option<RuntimePostReturnIndex>,
}
Expand description
Canonical ABI options associated with a lifted or lowered function.
Fields§
§instance: RuntimeComponentInstanceIndex
The component instance that this bundle was associated with.
string_encoding: StringEncoding
The encoding used for strings.
memory: Option<RuntimeMemoryIndex>
The memory used by these options, if specified.
realloc: Option<RuntimeReallocIndex>
The realloc function used by these options, if specified.
post_return: Option<RuntimePostReturnIndex>
The post-return function used by these options, if specified.
Trait Implementations§
Source§impl Clone for CanonicalOptions
impl Clone for CanonicalOptions
Source§fn clone(&self) -> CanonicalOptions
fn clone(&self) -> CanonicalOptions
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CanonicalOptions
impl Debug for CanonicalOptions
Source§impl<'de> Deserialize<'de> for CanonicalOptions
impl<'de> Deserialize<'de> for CanonicalOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CanonicalOptions
impl RefUnwindSafe for CanonicalOptions
impl Send for CanonicalOptions
impl Sync for CanonicalOptions
impl Unpin for CanonicalOptions
impl UnwindSafe for CanonicalOptions
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