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

pub struct DinoTreeOwned<A: Axis, T: Aabb> { /* fields omitted */ }

An owned dinotree componsed of T:Aabb

Methods

impl<T: Aabb> DinoTreeOwned<DefaultA, T>[src]

pub fn new(bots: Vec<T>) -> DinoTreeOwned<DefaultA, T>[src]

impl<T: Aabb + Send + Sync> DinoTreeOwned<DefaultA, T>[src]

pub fn new_par(bots: Vec<T>) -> DinoTreeOwned<DefaultA, T>[src]

impl<A: Axis, T: Aabb + Send + Sync> DinoTreeOwned<A, T>[src]

pub fn with_axis_par(axis: A, bots: Vec<T>) -> DinoTreeOwned<A, T>[src]

Create an owned dinotree in one thread.

impl<A: Axis, T: Aabb> DinoTreeOwned<A, T>[src]

pub fn with_axis(axis: A, bots: Vec<T>) -> DinoTreeOwned<A, T>[src]

Create an owned dinotree in one thread.

pub fn as_tree(&self) -> &DinoTree<A, NodePtr<T>>[src]

pub fn as_tree_mut(&mut self) -> &mut DinoTree<A, NodePtr<T>>[src]

Important traits for &'_ [u8]
pub fn get_bots(&self) -> &[T][src]

pub fn get_bots_mut(&mut self, func: impl FnMut(&mut [T]))[src]

Auto Trait Implementations

impl<A, T> RefUnwindSafe for DinoTreeOwned<A, T> where
    A: RefUnwindSafe,
    T: RefUnwindSafe,
    <T as Aabb>::Num: RefUnwindSafe

impl<A, T> !Send for DinoTreeOwned<A, T>

impl<A, T> !Sync for DinoTreeOwned<A, T>

impl<A, T> Unpin for DinoTreeOwned<A, T> where
    A: Unpin,
    T: Unpin,
    <T as Aabb>::Num: Unpin

impl<A, T> UnwindSafe for DinoTreeOwned<A, T> where
    A: UnwindSafe,
    T: RefUnwindSafe + UnwindSafe,
    <T as Aabb>::Num: UnwindSafe

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.