pub struct Point3<T: CoordInt> {
pub x: Coord<T>,
pub y: Coord<T>,
pub z: Coord<T>,
}Expand description
A point in 3D space. Three exact coordinates, no approximation.
Fields§
§x: Coord<T>X coordinate.
y: Coord<T>Y coordinate.
z: Coord<T>Z coordinate.
Implementations§
Trait Implementations§
impl<T: Copy + CoordInt> Copy for Point3<T>
impl<T: Eq + CoordInt> Eq for Point3<T>
impl<T: CoordInt> StructuralPartialEq for Point3<T>
Auto Trait Implementations§
impl<T> Freeze for Point3<T>where
T: Freeze,
impl<T> RefUnwindSafe for Point3<T>where
T: RefUnwindSafe,
impl<T> Send for Point3<T>
impl<T> Sync for Point3<T>
impl<T> Unpin for Point3<T>where
T: Unpin,
impl<T> UnsafeUnpin for Point3<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Point3<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