Trait Vec2
imath_traits::vec
pub trait Vec2<T> { fn from_slice(slice: &[T; 2]) -> Self where Self: Sized; fn as_slice(&self) -> &[T; 2]; fn as_ptr(&self) -> *const T; }
fn from_slice(slice: &[T; 2]) -> Self where Self: Sized,
fn as_slice(&self) -> &[T; 2]
fn as_ptr(&self) -> *const T
impl<T> Vec2<T> for [T; 2] where T: Copy, Self: Sized,
fn from_slice(slice: &[T; 2]) -> [T; 2]