Type Definition wedged::algebra::Vec1

source · []
pub type Vec1<T> = VecN<T, U1>;
Expand description

A 1-dimensional vector

Implementations

Constructs a Vec1 directly from components

Examples
let arr = [6];
let x = Vec1::new(6);

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

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.