[][src]Struct dinotree_alg::dinotree_owned::DinoTreeOwned

pub struct DinoTreeOwned<A: AxisTrait, N: NumTrait, T> { /* fields omitted */ }

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]

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]

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]

Important traits for &'_ mut [u8]
pub unsafe fn get_aabb_bots_mut_not_protected(&mut self) -> &mut [BBoxPtr<N, T>][src]

Important traits for &'_ mut [u8]
pub fn get_aabb_bots(&self) -> &[BBoxPtr<N, T>][src]

pub fn get_height(&self) -> usize[src]

pub fn axis(&self) -> A[src]

Important traits for Vec<u8>
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

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

impl<A, N, T> RefUnwindSafe for DinoTreeOwned<A, N, T> where
    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]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]