pub struct QuadTreeEntry2D { /* private fields */ }Expand description
One inserted body inside a 2D quadtree, stored with its exact world-space axis-aligned bounding box.
Carrying the box is what makes the structure a correct broad phase: a quadtree query prunes whole nodes by region overlap, then confirms each surviving candidate with an exact box-vs-box test instead of reporting every body that merely shares a node.
Implementations§
Trait Implementations§
Source§impl Clone for QuadTreeEntry2D
impl Clone for QuadTreeEntry2D
impl Copy for QuadTreeEntry2D
Source§impl Debug for QuadTreeEntry2D
impl Debug for QuadTreeEntry2D
Source§impl PartialEq for QuadTreeEntry2D
impl PartialEq for QuadTreeEntry2D
impl StructuralPartialEq for QuadTreeEntry2D
Auto Trait Implementations§
impl Freeze for QuadTreeEntry2D
impl RefUnwindSafe for QuadTreeEntry2D
impl Send for QuadTreeEntry2D
impl Sync for QuadTreeEntry2D
impl Unpin for QuadTreeEntry2D
impl UnsafeUnpin for QuadTreeEntry2D
impl UnwindSafe for QuadTreeEntry2D
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