[][src]Struct dinotree_alg::analyze::DinoTreeBuilder

pub struct DinoTreeBuilder<'a, A: Axis, T> { /* fields omitted */ }

Builder pattern for dinotree.

Methods

impl<'a, A: Axis, T: Aabb + Send + Sync> DinoTreeBuilder<'a, A, T>[src]

pub fn build_not_sorted_par(&mut self) -> NotSorted<A, NodeMut<'a, T>>[src]

Build not sorted in parallel

pub fn build_par(&mut self) -> DinoTree<A, NodeMut<'a, T>>[src]

Build in parallel

impl<'a, T: Aabb> DinoTreeBuilder<'a, DefaultA, T>[src]

pub fn new(bots: &'a mut [T]) -> DinoTreeBuilder<'a, DefaultA, T>[src]

Create a new builder with a slice of elements that implement Aabb.

impl<'a, A: Axis, T: Aabb> DinoTreeBuilder<'a, A, T>[src]

pub fn with_axis(axis: A, bots: &'a mut [T]) -> DinoTreeBuilder<'a, A, T>[src]

Create a new builder with a slice of elements that implement Aabb.

pub fn build_not_sorted_seq(&mut self) -> NotSorted<A, NodeMut<'a, T>>[src]

Build not sorted sequentially

pub fn build_seq(&mut self) -> DinoTree<A, NodeMut<'a, T>>[src]

Build sequentially

Important traits for &'_ mut I
pub fn with_bin_strat(&mut self, strat: BinStrat) -> &mut Self[src]

Important traits for &'_ mut I
pub fn with_height(&mut self, height: usize) -> &mut Self[src]

Important traits for &'_ mut I
pub fn with_height_switch_seq(&mut self, height: usize) -> &mut Self[src]

Choose the height at which to switch from parallel to sequential. If you end up building sequentially, this argument is ignored.

pub fn build_with_splitter_seq<S: Splitter>(
    &mut self,
    splitter: &mut S
) -> DinoTree<A, NodeMut<'a, T>>
[src]

Build with a Splitter.

Auto Trait Implementations

impl<'a, A, T> RefUnwindSafe for DinoTreeBuilder<'a, A, T> where
    A: RefUnwindSafe,
    T: RefUnwindSafe

impl<'a, A, T> Send for DinoTreeBuilder<'a, A, T> where
    T: Send

impl<'a, A, T> Sync for DinoTreeBuilder<'a, A, T> where
    T: Sync

impl<'a, A, T> Unpin for DinoTreeBuilder<'a, A, T> where
    A: Unpin

impl<'a, A, T> !UnwindSafe for DinoTreeBuilder<'a, A, T>

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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.