pub trait Array3<T> {
// Required methods
fn map<U, F>(self, f: F) -> [U; 3]
where F: Fn(T) -> U;
fn x(self) -> T;
fn y(self) -> T;
fn z(self) -> T;
}
Expand description
An array with 3 components.
Required Methods§
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.