[][src]Struct dinotree_alg::dinotree_owned::DinoTreeOwnedBBoxPtr

pub struct DinoTreeOwnedBBoxPtr<A: Axis, N: Num, T> { /* fields omitted */ }

An owned dinotree componsed of (Rect<N>,*mut T)

Methods

impl<N: Num, T: Send + Sync> DinoTreeOwnedBBoxPtr<DefaultA, N, T>[src]

pub fn new_par(bots: Vec<T>, func: impl FnMut(&T) -> Rect<N>) -> Self[src]

impl<N: Num, T> DinoTreeOwnedBBoxPtr<DefaultA, N, T>[src]

pub fn new(bots: Vec<T>, func: impl FnMut(&T) -> Rect<N>) -> Self[src]

impl<A: Axis, N: Num, T: Send + Sync> DinoTreeOwnedBBoxPtr<A, N, T>[src]

pub fn with_axis_par(
    axis: A,
    bots: Vec<T>,
    func: impl FnMut(&T) -> Rect<N>
) -> Self
[src]

impl<A: Axis, N: Num, T> DinoTreeOwnedBBoxPtr<A, N, T>[src]

pub fn with_axis(axis: A, bots: Vec<T>, func: impl FnMut(&T) -> Rect<N>) -> Self[src]

impl<A: Axis, N: Num, T> DinoTreeOwnedBBoxPtr<A, N, T>[src]

pub fn as_owned(&self) -> &DinoTreeOwned<A, BBoxPtr<N, T>>[src]

pub fn as_owned_mut(&mut self) -> &mut DinoTreeOwned<A, BBoxPtr<N, T>>[src]

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

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

Auto Trait Implementations

impl<A, N, T> RefUnwindSafe for DinoTreeOwnedBBoxPtr<A, N, T> where
    A: RefUnwindSafe,
    N: RefUnwindSafe,
    T: RefUnwindSafe

impl<A, N, T> !Send for DinoTreeOwnedBBoxPtr<A, N, T>

impl<A, N, T> !Sync for DinoTreeOwnedBBoxPtr<A, N, T>

impl<A, N, T> Unpin for DinoTreeOwnedBBoxPtr<A, N, T> where
    A: Unpin,
    N: Unpin,
    T: Unpin

impl<A, N, T> UnwindSafe for DinoTreeOwnedBBoxPtr<A, N, T> where
    A: UnwindSafe,
    N: RefUnwindSafe + UnwindSafe,
    T: RefUnwindSafe + 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.