pub trait ToVector: Sized {
type Output;
// Required method
fn to_vector(self) -> Self::Output;
}
Expand description
Trait that allows conversion from tuples to vectors.
Is implemented instead of From
/Into
because it provides type inference.
Required Associated Types§
type Output
Required Methods§
Object Safety§
This trait is not object safe.