pub trait ParameterVariant:
Into<ParameterValue>
+ Clone
+ TryFrom<ParameterValue> {
type Range: Into<ParameterRanges> + Default + Clone;
// Required method
fn kind() -> ParameterKind;
}
Expand description
A trait that describes a value that can be converted into a parameter.
Required Associated Types§
Required Methods§
Sourcefn kind() -> ParameterKind
fn kind() -> ParameterKind
Returns the ParameterKind
of the implemented type.
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.