pub struct KdTreeNode {
pub parent: usize,
pub index: usize,
pub children: [Option<usize>; 2],
}
Expand description
Internal node within the KdTree
Fields§
§parent: usize
§index: usize
§children: [Option<usize>; 2]
Trait Implementations§
Source§impl Clone for KdTreeNode
impl Clone for KdTreeNode
Source§fn clone(&self) -> KdTreeNode
fn clone(&self) -> KdTreeNode
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for KdTreeNode
impl RefUnwindSafe for KdTreeNode
impl Send for KdTreeNode
impl Sync for KdTreeNode
impl Unpin for KdTreeNode
impl UnwindSafe for KdTreeNode
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