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