[][src]Struct dinotree_alg::bbox::BBox

#[repr(C)]
pub struct BBox<N, T> {
    pub rect: Rect<N>,
    pub inner: T,
}

Equivalent to: (Rect<N>,T)

Fields

rect: Rect<N>inner: T

Methods

impl<N, T> BBox<N, T>[src]

pub fn new(rect: Rect<N>, inner: T) -> BBox<N, T>[src]

Trait Implementations

impl<N: NumTrait, T> HasAabb for BBox<N, T>[src]

type Num = N

impl<N: NumTrait, T> HasInner for BBox<N, T>[src]

type Inner = T

impl<N: Copy, T: Copy> Copy for BBox<N, T>[src]

impl<N: Clone, T: Clone> Clone for BBox<N, T>[src]

Auto Trait Implementations

impl<N, T> Unpin for BBox<N, T> where
    N: Unpin,
    T: Unpin

impl<N, T> Send for BBox<N, T> where
    N: Send,
    T: Send

impl<N, T> Sync for BBox<N, T> where
    N: Sync,
    T: Sync

impl<N, T> UnwindSafe for BBox<N, T> where
    N: UnwindSafe,
    T: UnwindSafe

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.