Struct bracket_terminal::prelude::Point3
source · [−]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
sourceimpl Add<Point3> for Point3
impl Add<Point3> for Point3
Overloads: We support basic point math Support adding a point to a point
sourceimpl AddAssign<Point3> for Point3
impl AddAssign<Point3> for Point3
sourcefn add_assign(&mut self, other: Point3)
fn add_assign(&mut self, other: Point3)
Performs the
+=
operation. Read moresourceimpl DivAssign<Point3> for Point3
impl DivAssign<Point3> for Point3
sourcefn div_assign(&mut self, other: Point3)
fn div_assign(&mut self, other: Point3)
Performs the
/=
operation. Read moresourceimpl MulAssign<Point3> for Point3
impl MulAssign<Point3> for Point3
sourcefn mul_assign(&mut self, other: Point3)
fn mul_assign(&mut self, other: Point3)
Performs the
*=
operation. Read moresourceimpl SubAssign<Point3> for Point3
impl SubAssign<Point3> for Point3
sourcefn 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