Trait ParamTuple
pub trait ParamTuple: 'static {
// Required methods
fn to_variant_array(&self) -> Vec<Variant>;
fn from_variant_array(array: &[&Variant]) -> Self;
}
Expand description
Represents a parameter list as Rust tuple.
Each tuple element is one parameter. This trait provides conversions to and from Variant
arrays.
Required Methods§
fn to_variant_array(&self) -> Vec<Variant>
fn from_variant_array(array: &[&Variant]) -> 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.