[−][src]Struct dinotree_alg::bbox::BBox
Equivalent to: (Rect<N>,T)
Fields
rect: Rect<N>
inner: T
Methods
impl<N, T> BBox<N, T>
[src]
Trait Implementations
impl<N: NumTrait, T> HasAabb for BBox<N, T>
[src]
impl<N: NumTrait, T> HasInner for BBox<N, T>
[src]
type Inner = T
fn get_inner(&self) -> (&Rect<N>, &Self::Inner)
[src]
fn get_inner_mut(&mut self) -> (&Rect<N>, &mut Self::Inner)
[src]
fn inner_mut(&mut self) -> &mut Self::Inner
[src]
fn inner(&self) -> &Self::Inner
[src]
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,
N: Unpin,
T: Unpin,
impl<N, T> Send for BBox<N, T> where
N: Send,
T: Send,
N: Send,
T: Send,
impl<N, T> Sync for BBox<N, T> where
N: Sync,
T: Sync,
N: Sync,
T: Sync,
impl<N, T> UnwindSafe for BBox<N, T> where
N: UnwindSafe,
T: UnwindSafe,
N: UnwindSafe,
T: UnwindSafe,
impl<N, T> RefUnwindSafe for BBox<N, T> where
N: RefUnwindSafe,
T: RefUnwindSafe,
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]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
ⓘImportant traits for &'_ mut Ifn borrow_mut(&mut self) -> &mut T
[src]
ⓘImportant traits for &'_ mut I
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,