[][src]Struct broccoli::query::raycast::CastAnswer

pub struct CastAnswer<'a, T: Aabb> {
    pub elems: Vec<PMut<'a, T>>,
    pub mag: T::Num,
}

What is returned when the ray hits something. It provides the length of the ray, as well as all solutions in a unspecified order.

Fields

elems: Vec<PMut<'a, T>>mag: T::Num

Auto Trait Implementations

impl<'a, T> RefUnwindSafe for CastAnswer<'a, T> where
    T: RefUnwindSafe,
    <T as Aabb>::Num: RefUnwindSafe
[src]

impl<'a, T> Send for CastAnswer<'a, T> where
    T: Send,
    <T as Aabb>::Num: Send
[src]

impl<'a, T> Sync for CastAnswer<'a, T> where
    T: Sync,
    <T as Aabb>::Num: Sync
[src]

impl<'a, T> Unpin for CastAnswer<'a, T> where
    <T as Aabb>::Num: Unpin
[src]

impl<'a, T> !UnwindSafe for CastAnswer<'a, T>[src]

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> Pointable for T

type Init = T

The type for initializers.

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.