pub trait StoredInteropValueList: Debug + Copy {
const TYS: &'static [ValType];
// Required methods
fn into_values(self) -> Vec<StoredValue>;
fn try_from_values(
values: impl ExactSizeIterator<Item = StoredValue>,
) -> Result<Self, ValueTypeMismatchError>;
}Expand description
A StoredInteropValueList is an iterable list of StoredInteropValues (i.e. Rust types that can be converted into Wasm StoredValues).
Required Associated Constants§
Required Methods§
fn into_values(self) -> Vec<StoredValue>
fn try_from_values( values: impl ExactSizeIterator<Item = StoredValue>, ) -> Result<Self, ValueTypeMismatchError>
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.