pub struct Point;Trait Implementations§
Source§impl<A> CollidesRel2d<A> for Pointwhere
A: DefaultCol2dImpls + CollidesRel2d<Point>,
impl<A> CollidesRel2d<A> for Pointwhere
A: DefaultCol2dImpls + CollidesRel2d<Point>,
Source§fn collides_rel(&self, other: &A, rel: &impl Transformation2d) -> bool
fn collides_rel(&self, other: &A, rel: &impl Transformation2d) -> bool
Checks whether objects collide. Read more
Source§impl CollidesRel2d<Point> for Ball
impl CollidesRel2d<Point> for Ball
Source§fn collides_rel(&self, _t: &Point, rel: &impl Transformation2d) -> bool
fn collides_rel(&self, _t: &Point, rel: &impl Transformation2d) -> bool
Checks whether objects collide. Read more
Source§impl CollidesRel2d<Point> for Box2d
impl CollidesRel2d<Point> for Box2d
Source§fn collides_rel(&self, _t: &Point, rel: &impl Transformation2d) -> bool
fn collides_rel(&self, _t: &Point, rel: &impl Transformation2d) -> bool
Checks whether objects collide. Read more
Source§impl CollidesRel2d<Point> for RoundedBox2d
impl CollidesRel2d<Point> for RoundedBox2d
Source§fn collides_rel(&self, t: &Point, rel: &impl Transformation2d) -> bool
fn collides_rel(&self, t: &Point, rel: &impl Transformation2d) -> bool
Checks whether objects collide. Read more
Source§impl CollidesRel2d<Point> for Tilemap
impl CollidesRel2d<Point> for Tilemap
Source§fn collides_rel(&self, _t: &Point, rel: &impl Transformation2d) -> bool
fn collides_rel(&self, _t: &Point, rel: &impl Transformation2d) -> bool
Checks whether objects collide. Read more
Source§impl<A> CollidesRel3d<A> for Pointwhere
A: DefaultCol3dImpls + CollidesRel3d<Point>,
impl<A> CollidesRel3d<A> for Pointwhere
A: DefaultCol3dImpls + CollidesRel3d<Point>,
Source§fn collides_rel(&self, other: &A, rel: &impl Transformation3d) -> bool
fn collides_rel(&self, other: &A, rel: &impl Transformation3d) -> bool
Checks whether objects collide. Read more
Source§impl CollidesRel3d<Point> for Ball
impl CollidesRel3d<Point> for Ball
Source§fn collides_rel(&self, _t: &Point, rel: &impl Transformation3d) -> bool
fn collides_rel(&self, _t: &Point, rel: &impl Transformation3d) -> bool
Checks whether objects collide. Read more
Source§impl CollidesRel3d<Point> for Box3d
impl CollidesRel3d<Point> for Box3d
Source§fn collides_rel(&self, _t: &Point, rel: &impl Transformation3d) -> bool
fn collides_rel(&self, _t: &Point, rel: &impl Transformation3d) -> bool
Checks whether objects collide. Read more
impl Copy for Point
impl Eq for Point
Source§impl ExtremePoint2d for Point
impl ExtremePoint2d for Point
Source§impl ExtremePoint3d for Point
impl ExtremePoint3d for Point
impl MinkowskiNegationIsIdentity for Point
Source§impl Ord for Point
impl Ord for Point
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Point
impl PartialOrd for Point
Source§impl<A> PenetratesRel2d<A> for Pointwhere
A: DefaultCol2dImpls + PenetratesRel2d<Point>,
impl<A> PenetratesRel2d<A> for Pointwhere
A: DefaultCol2dImpls + PenetratesRel2d<Point>,
Source§fn penetrates_rel(&self, other: &A, rel: &impl Transformation2d) -> Option<Vec2>
fn penetrates_rel(&self, other: &A, rel: &impl Transformation2d) -> Option<Vec2>
Source§impl PenetratesRel2d<Point> for Ball
impl PenetratesRel2d<Point> for Ball
Source§fn penetrates_rel(&self, t: &Point, rel: &impl Transformation2d) -> Option<Vec2>
fn penetrates_rel(&self, t: &Point, rel: &impl Transformation2d) -> Option<Vec2>
Source§impl PenetratesRel2d<Point> for Box2d
impl PenetratesRel2d<Point> for Box2d
Source§fn penetrates_rel(&self, t: &Point, rel: &impl Transformation2d) -> Option<Vec2>
fn penetrates_rel(&self, t: &Point, rel: &impl Transformation2d) -> Option<Vec2>
Source§impl PenetratesRel2d<Point> for RoundedBox2d
impl PenetratesRel2d<Point> for RoundedBox2d
Source§fn penetrates_rel(&self, t: &Point, rel: &impl Transformation2d) -> Option<Vec2>
fn penetrates_rel(&self, t: &Point, rel: &impl Transformation2d) -> Option<Vec2>
Source§impl PenetratesRel2d<Point> for Tilemap
impl PenetratesRel2d<Point> for Tilemap
Source§fn penetrates_rel(
&self,
_t: &Point,
rel: &impl Transformation2d,
) -> Option<Vec2>
fn penetrates_rel( &self, _t: &Point, rel: &impl Transformation2d, ) -> Option<Vec2>
Source§impl<A> PenetratesRel3d<A> for Pointwhere
A: DefaultCol3dImpls + PenetratesRel3d<Point>,
impl<A> PenetratesRel3d<A> for Pointwhere
A: DefaultCol3dImpls + PenetratesRel3d<Point>,
Source§fn penetrates_rel(&self, other: &A, rel: &impl Transformation3d) -> Option<Vec3>
fn penetrates_rel(&self, other: &A, rel: &impl Transformation3d) -> Option<Vec3>
Source§impl PenetratesRel3d<Point> for Ball
impl PenetratesRel3d<Point> for Ball
Source§fn penetrates_rel(&self, t: &Point, rel: &impl Transformation3d) -> Option<Vec3>
fn penetrates_rel(&self, t: &Point, rel: &impl Transformation3d) -> Option<Vec3>
Source§impl PenetratesRel3d<Point> for Box3d
impl PenetratesRel3d<Point> for Box3d
Source§fn penetrates_rel(&self, t: &Point, rel: &impl Transformation3d) -> Option<Vec3>
fn penetrates_rel(&self, t: &Point, rel: &impl Transformation3d) -> Option<Vec3>
Source§impl SdfRel2d<Point> for RoundedBox2d
impl SdfRel2d<Point> for RoundedBox2d
Source§impl<A> SdfRel2dVector<A> for Pointwhere
A: DefaultCol2dImpls + SdfRel2dVector<Point>,
impl<A> SdfRel2dVector<A> for Pointwhere
A: DefaultCol2dImpls + SdfRel2dVector<Point>,
Source§impl SdfRel2dVector<Point> for Ball
impl SdfRel2dVector<Point> for Ball
Source§impl SdfRel2dVector<Point> for Box2d
impl SdfRel2dVector<Point> for Box2d
Source§impl SdfRel2dVector<Point> for RoundedBox2d
impl SdfRel2dVector<Point> for RoundedBox2d
Source§impl<A> SdfRel3dVector<A> for Pointwhere
A: DefaultCol3dImpls + SdfRel3dVector<Point>,
impl<A> SdfRel3dVector<A> for Pointwhere
A: DefaultCol3dImpls + SdfRel3dVector<Point>,
Source§impl SdfRel3dVector<Point> for Ball
impl SdfRel3dVector<Point> for Ball
Source§impl SdfRel3dVector<Point> for Box3d
impl SdfRel3dVector<Point> for Box3d
impl StructuralPartialEq for Point
Source§impl SymmetricBoundingBox2d for Point
impl SymmetricBoundingBox2d for Point
Source§fn symmetric_bounding_box(&self) -> Box2d
fn symmetric_bounding_box(&self) -> Box2d
Computes the bounding box. Read more
Auto Trait Implementations§
impl Freeze for Point
impl RefUnwindSafe for Point
impl Send for Point
impl Sync for Point
impl Unpin for Point
impl UnsafeUnpin for Point
impl UnwindSafe for Point
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<A, B, T> Collides2d<B, T> for A
impl<A, B, T> Collides2d<B, T> for A
Source§impl<A, B, T> Collides3d<B, T> for A
impl<A, B, T> Collides3d<B, T> for A
Source§impl<T> MinkowskiNegation for Twhere
T: MinkowskiNegationIsIdentity,
impl<T> MinkowskiNegation for Twhere
T: MinkowskiNegationIsIdentity,
Source§fn minkowski_negation(&self) -> T
fn minkowski_negation(&self) -> T
Computes Minkowski negation. (Reflection about the origin) Read more