#[repr(C)]pub struct b3TreeNode {
pub aabb: b3AABB,
pub categoryBits: u64,
pub __bindgen_anon_1: b3TreeNode__bindgen_ty_1,
pub __bindgen_anon_2: b3TreeNode__bindgen_ty_2,
pub height: u16,
pub flags: u16,
}Expand description
A node in the dynamic tree. This is private data placed here for performance reasons. todo test padding to 64 bytes to avoid straddling cache lines
Fields§
§aabb: b3AABBThe node bounding box
categoryBits: u64Category bits for collision filtering
__bindgen_anon_1: b3TreeNode__bindgen_ty_1§__bindgen_anon_2: b3TreeNode__bindgen_ty_2§height: u16Height of the node. Leaves have a height of 0.
flags: u16@see b3TreeNodeFlags
Trait Implementations§
Source§impl Clone for b3TreeNode
impl Clone for b3TreeNode
Source§fn clone(&self) -> b3TreeNode
fn clone(&self) -> b3TreeNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for b3TreeNode
Auto Trait Implementations§
impl Freeze for b3TreeNode
impl RefUnwindSafe for b3TreeNode
impl Send for b3TreeNode
impl Sync for b3TreeNode
impl Unpin for b3TreeNode
impl UnsafeUnpin for b3TreeNode
impl UnwindSafe for b3TreeNode
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