pub struct TreeBuildVisitor<'a, T> { /* private fields */ }
Expand description
The main primitive to build a tree.
Implementations
sourceimpl<'a, T: Aabb + ManySwap> TreeBuildVisitor<'a, T>
impl<'a, T: Aabb + ManySwap> TreeBuildVisitor<'a, T>
pub fn get_bots(&self) -> &[T]ⓘNotable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
pub fn new(num_levels: usize, bots: &'a mut [T]) -> TreeBuildVisitor<'a, T>
pub fn get_height(&self) -> usize
pub fn build_and_next(self) -> NodeBuildResult<'a, T>
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for TreeBuildVisitor<'a, T> where
T: RefUnwindSafe,
impl<'a, T> Send for TreeBuildVisitor<'a, T> where
T: Send,
impl<'a, T> Sync for TreeBuildVisitor<'a, T> where
T: Sync,
impl<'a, T> Unpin for TreeBuildVisitor<'a, T>
impl<'a, T> !UnwindSafe for TreeBuildVisitor<'a, T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more