[][src]Struct dinotree_alg::owned::DinoTreeOwned

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

use the broccoli crate instead

An owned dinotree componsed of T:Aabb

Implementations

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

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

👎 Deprecated:

use the broccoli crate instead

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

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

👎 Deprecated:

use the broccoli crate instead

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]

👎 Deprecated:

use the broccoli crate instead

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]

👎 Deprecated:

use the broccoli crate instead

Create an owned dinotree in one thread.

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

👎 Deprecated:

use the broccoli crate instead

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

👎 Deprecated:

use the broccoli crate instead

pub fn get_bots(&self) -> &[T]

Notable traits for &'_ mut [u8]

impl<'_> Write for &'_ mut [u8]impl<'_> Read for &'_ [u8]
[src]

👎 Deprecated:

use the broccoli crate instead

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

👎 Deprecated:

use the broccoli crate instead

pub fn get_bots_mut(&mut self) -> PMut<'_, [T]>[src]

👎 Deprecated:

use the broccoli crate instead

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> where
    T: Send

impl<A, T> Sync for DinoTreeOwned<A, T> where
    T: Sync

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.