pub trait PointFromArray<T, const N: usize> {
// Required method
fn from_array(vals: [T; N]) -> Self;
}Expand description
A point that can be initialized with an array of the appropriate size.
Required Methods§
Sourcefn from_array(vals: [T; N]) -> Self
fn from_array(vals: [T; N]) -> Self
Initializes a point from an array.
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.