[][src]Struct ncollide3d::pipeline::glue::FirstInterferenceWithRay

pub struct FirstInterferenceWithRay<'a, N: RealField, Objects: CollisionObjectSet<N>> {
    pub handle: Objects::CollisionObjectHandle,
    pub co: &'a Objects::CollisionObject,
    pub inter: RayIntersection<N>,
}

Return structure for first_interference_with_ray

Contains the handle of the closest object along the ray along with its intersection details

Fields

handle: Objects::CollisionObjectHandle

Handle to the object the ray collided with.

co: &'a Objects::CollisionObject

Reference to the object the ray collided with.

inter: RayIntersection<N>

Intersection details

Trait Implementations

impl<'a, N: Debug + RealField, Objects: Debug + CollisionObjectSet<N>> Debug for FirstInterferenceWithRay<'a, N, Objects> where
    Objects::CollisionObjectHandle: Debug,
    Objects::CollisionObject: Debug
[src]

Auto Trait Implementations

impl<'a, N, Objects> RefUnwindSafe for FirstInterferenceWithRay<'a, N, Objects> where
    N: RefUnwindSafe + Scalar,
    <Objects as CollisionObjectSet<N>>::CollisionObject: RefUnwindSafe,
    <Objects as CollisionObjectSet<N>>::CollisionObjectHandle: RefUnwindSafe

impl<'a, N, Objects> Send for FirstInterferenceWithRay<'a, N, Objects> where
    N: Scalar,
    <Objects as CollisionObjectSet<N>>::CollisionObject: Sync,
    <Objects as CollisionObjectSet<N>>::CollisionObjectHandle: Send

impl<'a, N, Objects> Sync for FirstInterferenceWithRay<'a, N, Objects> where
    N: Scalar,
    <Objects as CollisionObjectSet<N>>::CollisionObject: Sync,
    <Objects as CollisionObjectSet<N>>::CollisionObjectHandle: Sync

impl<'a, N, Objects> Unpin for FirstInterferenceWithRay<'a, N, Objects> where
    N: Scalar + Unpin,
    <Objects as CollisionObjectSet<N>>::CollisionObjectHandle: Unpin

impl<'a, N, Objects> UnwindSafe for FirstInterferenceWithRay<'a, N, Objects> where
    N: Scalar + UnwindSafe,
    <Objects as CollisionObjectSet<N>>::CollisionObject: RefUnwindSafe,
    <Objects as CollisionObjectSet<N>>::CollisionObjectHandle: 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> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[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>,