pub struct Point<T, const N: usize>(pub [T; N]);Expand description
A point in R^N.
Tuple Fields§
§0: [T; N]Implementations§
Trait Implementations§
impl<T: Copy, const N: usize> Copy for Point<T, N>
impl<T: Eq, const N: usize> Eq for Point<T, N>
impl<T, const N: usize> StructuralPartialEq for Point<T, N>
Auto Trait Implementations§
impl<T, const N: usize> Freeze for Point<T, N>where
T: Freeze,
impl<T, const N: usize> RefUnwindSafe for Point<T, N>where
T: RefUnwindSafe,
impl<T, const N: usize> Send for Point<T, N>where
T: Send,
impl<T, const N: usize> Sync for Point<T, N>where
T: Sync,
impl<T, const N: usize> Unpin for Point<T, N>where
T: Unpin,
impl<T, const N: usize> UnwindSafe for Point<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