[−][src]Struct dinotree_alg::dinotree_owned::DinoTreeOwned
An owned dinotree
Methods
impl<A: AxisTrait, N: NumTrait, T: Send + Sync> DinoTreeOwned<A, N, T>
[src]
pub fn new_par(
axis: A,
bots: Vec<T>,
aabb_create: impl FnMut(&T) -> Rect<N>
) -> DinoTreeOwned<A, N, T>
[src]
axis: A,
bots: Vec<T>,
aabb_create: impl FnMut(&T) -> Rect<N>
) -> DinoTreeOwned<A, N, T>
Create an owned dinotree in one thread.
impl<A: AxisTrait, N: NumTrait, T> DinoTreeOwned<A, N, T>
[src]
pub fn new(
axis: A,
bots: Vec<T>,
aabb_create: impl FnMut(&T) -> Rect<N>
) -> DinoTreeOwned<A, N, T>
[src]
axis: A,
bots: Vec<T>,
aabb_create: impl FnMut(&T) -> Rect<N>
) -> DinoTreeOwned<A, N, T>
Create an owned dinotree in parallel.
pub fn get(&self) -> &DinoTree<A, NodePtr<BBoxPtr<N, T>>>
[src]
pub fn get_mut(&mut self) -> &mut DinoTree<A, NodePtr<BBoxPtr<N, T>>>
[src]
pub fn get_aabb_bots_mut(&mut self) -> ProtectedBBoxSlice<BBoxPtr<N, T>>
[src]
pub unsafe fn get_aabb_bots_mut_not_protected(&mut self) -> &mut [BBoxPtr<N, T>]
[src]
pub fn get_aabb_bots(&self) -> &[BBoxPtr<N, T>]
[src]
pub fn get_height(&self) -> usize
[src]
pub fn axis(&self) -> A
[src]
pub fn into_inner(self) -> Vec<T>
[src]
Auto Trait Implementations
impl<A, N, T> Unpin for DinoTreeOwned<A, N, T> where
A: Unpin,
N: Unpin,
T: Unpin,
A: Unpin,
N: Unpin,
T: Unpin,
impl<A, N, T> !Send for DinoTreeOwned<A, N, T>
impl<A, N, T> !Sync for DinoTreeOwned<A, N, T>
impl<A, N, T> UnwindSafe for DinoTreeOwned<A, N, T> where
A: UnwindSafe,
N: RefUnwindSafe + UnwindSafe,
T: RefUnwindSafe + UnwindSafe,
A: UnwindSafe,
N: RefUnwindSafe + UnwindSafe,
T: RefUnwindSafe + UnwindSafe,
impl<A, N, T> RefUnwindSafe for DinoTreeOwned<A, N, T> where
A: RefUnwindSafe,
N: RefUnwindSafe,
T: RefUnwindSafe,
A: RefUnwindSafe,
N: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
ⓘImportant traits for &'_ mut Ifn borrow_mut(&mut self) -> &mut T
[src]
ⓘImportant traits for &'_ mut I
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,