Expand description
Helper struct defining a 2D point in space.
Fields
x: i32
The 3D point’s X location
y: i32
The 3D point’s Y location
z: i32
The 3D point’s Z location
Implementations
Trait Implementations
impl AddAssign<Point3> for Point3
impl AddAssign<Point3> for Point3
fn add_assign(&mut self, other: Point3)
fn add_assign(&mut self, other: Point3)
Performs the
+=
operation. Read moreimpl DivAssign<Point3> for Point3
impl DivAssign<Point3> for Point3
fn div_assign(&mut self, other: Point3)
fn div_assign(&mut self, other: Point3)
Performs the
/=
operation. Read moreimpl MulAssign<Point3> for Point3
impl MulAssign<Point3> for Point3
fn mul_assign(&mut self, other: Point3)
fn mul_assign(&mut self, other: Point3)
Performs the
*=
operation. Read moreimpl SubAssign<Point3> for Point3
impl SubAssign<Point3> for Point3
fn sub_assign(&mut self, other: Point3)
fn sub_assign(&mut self, other: Point3)
Performs the
-=
operation. Read moreimpl Copy for Point3
impl Eq for Point3
impl StructuralEq for Point3
impl StructuralPartialEq for Point3
Auto Trait Implementations
impl RefUnwindSafe for Point3
impl Send for Point3
impl Sync for Point3
impl Unpin for Point3
impl UnwindSafe for Point3
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more