Struct box_intersect_ze::boxes::BoxND[][src]

pub struct BoxND<B, const N: usize> { /* fields omitted */ }

A generic N-dimensional box with bounds of type B

Implementations

impl<B: Copy, const N: usize> BoxND<B, N>[src]

pub fn new(min: [B; N], max: [B; N]) -> Self[src]

Creates a new box. The low and high boundaries of the box will be min and max, indexed by dimension.

Trait Implementations

impl<B, const N: usize> BBox for BoxND<B, N> where
    B: Copy + PartialOrd
[src]

type Num = B

impl<B: Clone, const N: usize> Clone for BoxND<B, N>[src]

impl<B: Copy, const N: usize> Copy for BoxND<B, N>[src]

impl<B: Debug, const N: usize> Debug for BoxND<B, N>[src]

Auto Trait Implementations

impl<B, const N: usize> RefUnwindSafe for BoxND<B, N> where
    B: RefUnwindSafe

impl<B, const N: usize> Send for BoxND<B, N> where
    B: Send

impl<B, const N: usize> Sync for BoxND<B, N> where
    B: Sync

impl<B, const N: usize> Unpin for BoxND<B, N> where
    B: Unpin

impl<B, const N: usize> UnwindSafe for BoxND<B, N> where
    B: 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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,