Trait FromVectorParts

Source
pub trait FromVectorParts<T: VectorScalar, const N: usize> {
    // Required method
    fn from_parts(parts: [T; N]) -> Self;
}
Expand description

Enables the creation of a vector (via [T; N])

Required Methods§

Source

fn from_parts(parts: [T; N]) -> 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.

Implementors§