Expand description
Owned version of Tree
Implementations
sourceimpl<C, S> TreeOwned<C, S> where
C: Container,
S: Sorter<<C as Container>::T>,
<C as Container>::T: Aabb,
impl<C, S> TreeOwned<C, S> where
C: Container,
S: Sorter<<C as Container>::T>,
<C as Container>::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 as Container>::T: Send,
<C as Container>::T: Sync,
<<C as Container>::T as Aabb>::Num: Send,
<<C as Container>::T as Aabb>::Num: Sync,
pub fn as_tree(&mut self) -> TreeInner<Node<'_, <C as Container>::T>, S>
pub fn as_slice_mut(&mut self) -> AabbPin<&mut [<C as Container>::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