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