pub unsafe trait ComponentNamedList: ComponentType { }
Available on crate features
runtime
and component-model
only.Expand description
A trait representing a static list of named types that can be passed to or
returned from a TypedFunc
.
This trait is implemented for a number of tuple types and is not expected to be implemented externally. The contents of this trait are hidden as it’s intended to be an implementation detail of Wasmtime. The contents of this trait are not covered by Wasmtime’s stability guarantees.
For more information about this trait see Func::typed
and
TypedFunc
.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.