pub struct QuadTree {
pub bounds: Aabb2,
pub depth: u32,
pub max_depth: u32,
pub capacity: usize,
pub points: Vec<QtPoint>,
pub children: Option<Box<[QuadTree; 4]>>,
}Expand description
Quadtree node.
Fields§
§bounds: Aabb2§depth: u32§max_depth: u32§capacity: usize§points: Vec<QtPoint>§children: Option<Box<[QuadTree; 4]>>Trait Implementations§
Auto Trait Implementations§
impl Freeze for QuadTree
impl RefUnwindSafe for QuadTree
impl Send for QuadTree
impl Sync for QuadTree
impl Unpin for QuadTree
impl UnsafeUnpin for QuadTree
impl UnwindSafe for QuadTree
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