Expand description
Owned version of Tree
Implementations
sourceimpl<C: Container, S: Sorter<C::T>> TreeOwned<C, S> where
C::T: Aabb,
impl<C: Container, S: Sorter<C::T>> TreeOwned<C, S> where
C::T: Aabb,
pub fn new(sorter: S, bots: C) -> TreeOwned<C, S>
pub fn new_par(sorter: S, bots: C) -> TreeOwned<C, S> where
C::T: Send + Sync,
<C::T as Aabb>::Num: Send + Sync,
pub fn as_tree(&mut self) -> TreeInner<Node<'_, C::T>, S>
pub fn as_slice_mut(&mut self) -> AabbPin<&mut [C::T]>
pub fn into_inner(self) -> C
Auto Trait Implementations
impl<C, S> RefUnwindSafe for TreeOwned<C, S> where
C: RefUnwindSafe,
S: RefUnwindSafe,
<<C as Container>::T as Aabb>::Num: RefUnwindSafe,
impl<C, S> Send for TreeOwned<C, S> where
C: Send,
S: Send,
<<C as Container>::T as Aabb>::Num: Send,
impl<C, S> Sync for TreeOwned<C, S> where
C: Sync,
S: Sync,
<<C as Container>::T as Aabb>::Num: Sync,
impl<C, S> Unpin for TreeOwned<C, S> where
C: Unpin,
S: Unpin,
<<C as Container>::T as Aabb>::Num: Unpin,
impl<C, S> UnwindSafe for TreeOwned<C, S> where
C: UnwindSafe,
S: UnwindSafe,
<<C as Container>::T as Aabb>::Num: UnwindSafe,
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