pub struct TreeBranch<const N: usize> { /* private fields */ }
Expand description
A struct representing a branch in the tree.
Trait Implementations§
Source§impl<const N: usize> Branch<N> for TreeBranch<N>
impl<const N: usize> Branch<N> for TreeBranch<N>
Source§fn get_split_index(&self) -> usize
fn get_split_index(&self) -> usize
Gets the index on which to split keys when traversing this node.
Source§fn set_zero(&mut self, zero: Array<N>)
fn set_zero(&mut self, zero: Array<N>)
Sets the location of the zero branch beneath this node.
Source§fn set_split_index(&mut self, index: usize)
fn set_split_index(&mut self, index: usize)
Sets the index on which to split keys when traversing this node.
Source§impl<const N: usize> Clone for TreeBranch<N>
impl<const N: usize> Clone for TreeBranch<N>
Source§fn clone(&self) -> TreeBranch<N>
fn clone(&self) -> TreeBranch<N>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<const N: usize> Debug for TreeBranch<N>
impl<const N: usize> Debug for TreeBranch<N>
Source§impl<const N: usize> PartialEq for TreeBranch<N>
impl<const N: usize> PartialEq for TreeBranch<N>
impl<const N: usize> Copy for TreeBranch<N>
impl<const N: usize> Eq for TreeBranch<N>
impl<const N: usize> StructuralPartialEq for TreeBranch<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for TreeBranch<N>
impl<const N: usize> RefUnwindSafe for TreeBranch<N>
impl<const N: usize> Send for TreeBranch<N>
impl<const N: usize> Sync for TreeBranch<N>
impl<const N: usize> Unpin for TreeBranch<N>
impl<const N: usize> UnwindSafe for TreeBranch<N>
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