Struct bvh::bvh::BVHTraverseIterator[][src]

pub struct BVHTraverseIterator<'a, Shape: Bounded> { /* fields omitted */ }

Iterator to traverse a BVH without memory allocations

Implementations

impl<'a, Shape: Bounded> BVHTraverseIterator<'a, Shape>[src]

pub fn new(bvh: &'a BVH, ray: &'a Ray, shapes: &'a [Shape]) -> Self[src]

Creates a new BVHTraverseIterator

Trait Implementations

impl<'a, Shape: Bounded> Iterator for BVHTraverseIterator<'a, Shape>[src]

type Item = &'a Shape

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, Shape> RefUnwindSafe for BVHTraverseIterator<'a, Shape> where
    Shape: RefUnwindSafe

impl<'a, Shape> Send for BVHTraverseIterator<'a, Shape> where
    Shape: Sync

impl<'a, Shape> Sync for BVHTraverseIterator<'a, Shape> where
    Shape: Sync

impl<'a, Shape> Unpin for BVHTraverseIterator<'a, Shape>

impl<'a, Shape> UnwindSafe for BVHTraverseIterator<'a, Shape> where
    Shape: RefUnwindSafe

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<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<I> IteratorRandom for I where
    I: Iterator
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

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>,