[][src]Struct embree::ray_stream::HitN

pub struct HitN { /* fields omitted */ }

Implementations

impl HitN[src]

pub fn new(n: usize) -> HitN[src]

pub fn any_hit(&self) -> bool[src]

pub fn hits<'a>(&'a self) -> impl Iterator<Item = bool> + 'a[src]

pub fn iter(&self) -> SoAHitIter<'_, HitN>

Notable traits for SoAHitIter<'a, T>

impl<'a, T: SoAHit + 'a> Iterator for SoAHitIter<'a, T> type Item = SoAHitRef<'a, T>;
[src]

pub fn iter_hits<'a>(&'a self) -> impl Iterator<Item = SoAHitRef<'_, HitN>> + 'a[src]

pub fn len(&self) -> usize[src]

pub unsafe fn as_hitnp(&mut self) -> RTCHitNp[src]

Trait Implementations

impl SoAHit for HitN[src]

Auto Trait Implementations

impl RefUnwindSafe for HitN

impl Send for HitN

impl Sync for HitN

impl Unpin for HitN

impl UnwindSafe for HitN

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.