pub trait ToLabelOrNum<'a, T: Num> {
// Required method
fn to_labelornum(self) -> LabelOrNum<T>;
}Expand description
A trait to allow passing numbers or Labels.
Required Methods§
fn to_labelornum(self) -> LabelOrNum<T>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".