pub struct Vector3<N>{
pub x: N,
pub y: N,
pub z: N,
}Expand description
A 3D vector of any numeric type.
This is the non-SIMD version.
Fields§
§x: N§y: N§z: NTrait Implementations§
Source§impl<N> PartialOrd for Vector3<N>
impl<N> PartialOrd for Vector3<N>
impl<N> Copy for Vector3<N>
impl<N> StructuralPartialEq for Vector3<N>
Auto Trait Implementations§
impl<N> Freeze for Vector3<N>where
N: Freeze,
impl<N> RefUnwindSafe for Vector3<N>where
N: RefUnwindSafe,
impl<N> Send for Vector3<N>where
N: Send,
impl<N> Sync for Vector3<N>where
N: Sync,
impl<N> Unpin for Vector3<N>where
N: Unpin,
impl<N> UnwindSafe for Vector3<N>where
N: 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