pub struct Point3d<T: Copy>(/* private fields */);Expand description
3-dimensional point.
For full functionality for floats, try the ordered_float crate
Implementations§
Trait Implementations§
Source§impl<T: Copy> PointFromArray<T, 3> for Point3d<T>
impl<T: Copy> PointFromArray<T, 3> for Point3d<T>
Source§fn from_array(vals: [T; 3]) -> Self
fn from_array(vals: [T; 3]) -> Self
Initializes a point from an array.
Source§impl<T> PointManhattan<T> for Point3d<T>
impl<T> PointManhattan<T> for Point3d<T>
impl<T: Eq + Copy> Eq for Point3d<T>
impl<T: Copy> StructuralPartialEq for Point3d<T>
Auto Trait Implementations§
impl<T> Freeze for Point3d<T>where
T: Freeze,
impl<T> RefUnwindSafe for Point3d<T>where
T: RefUnwindSafe,
impl<T> Send for Point3d<T>where
T: Send,
impl<T> Sync for Point3d<T>where
T: Sync,
impl<T> Unpin for Point3d<T>where
T: Unpin,
impl<T> UnwindSafe for Point3d<T>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