pub struct TreeNode {
pub aabb: Aabb,
pub category_bits: u64,
pub child1: i32,
pub child2: i32,
pub user_data: u64,
pub parent: i32,
pub next: i32,
pub height: u16,
pub flags: u16,
}Expand description
A node in the dynamic tree. For internal usage. (b3TreeNode)
Fields§
§aabb: AabbThe node bounding box
category_bits: u64Category bits for collision filtering
child1: i32Child node index 1 (internal nodes)
child2: i32Child node index 2 (internal nodes)
user_data: u64User data (leaf nodes)
parent: i32The node parent index (allocated nodes)
next: i32The node freelist next index (free nodes)
height: u16§flags: u16Trait Implementations§
Auto Trait Implementations§
impl Freeze for TreeNode
impl RefUnwindSafe for TreeNode
impl Send for TreeNode
impl Sync for TreeNode
impl Unpin for TreeNode
impl UnsafeUnpin for TreeNode
impl UnwindSafe for TreeNode
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