pub struct VecN<T, const N: usize> {
pub val: [T; N],
}
Expand description
Generic N-dimensional vector
Fields§
§val: [T; N]
Implementations§
Trait Implementations§
impl<T, const N: usize> StructuralPartialEq for VecN<T, N>
Auto Trait Implementations§
impl<T, const N: usize> Freeze for VecN<T, N>where
T: Freeze,
impl<T, const N: usize> RefUnwindSafe for VecN<T, N>where
T: RefUnwindSafe,
impl<T, const N: usize> Send for VecN<T, N>where
T: Send,
impl<T, const N: usize> Sync for VecN<T, N>where
T: Sync,
impl<T, const N: usize> Unpin for VecN<T, N>where
T: Unpin,
impl<T, const N: usize> UnwindSafe for VecN<T, N>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more