Type Definition wedged::algebra::Vec5

source · []
pub type Vec5<T> = VecN<T, U5>;
Expand description

A 5-dimensional vector

Implementations

Constructs a Vec5 directly from components

Examples
let arr = [6, 2, 8, 3, 1];
let x = Vec5::new(6, 2, 8, 3, 1);

assert_eq!(x.as_slice(), &arr);

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.