[][src]Struct ncollide2d::query::visitors::CompositePointContainmentTest

pub struct CompositePointContainmentTest<'a, N: 'a + RealField, S: 'a + CompositeShape<N>> {
    pub shape: &'a S,
    pub point: &'a Point<N>,
    pub found: bool,
}

Visitor for checking if a composite shape contains a specific point.

Fields

shape: &'a S

The composite shape on which the point containment test should be performed.

point: &'a Point<N>

The point to be tested.

found: bool

A traversal will set this to true if the point is inside of self.shape.

Trait Implementations

impl<'a, N: RealField, BV: BoundingVolume<N> + PointQuery<N>, S: CompositeShape<N>> Visitor<usize, BV> for CompositePointContainmentTest<'a, N, S>[src]

Auto Trait Implementations

impl<'a, N, S> RefUnwindSafe for CompositePointContainmentTest<'a, N, S> where
    N: RefUnwindSafe + Scalar,
    S: RefUnwindSafe

impl<'a, N, S> Send for CompositePointContainmentTest<'a, N, S> where
    N: Scalar,
    S: Sync

impl<'a, N, S> Sync for CompositePointContainmentTest<'a, N, S> where
    N: Scalar,
    S: Sync

impl<'a, N, S> Unpin for CompositePointContainmentTest<'a, N, S>

impl<'a, N, S> UnwindSafe for CompositePointContainmentTest<'a, N, S> where
    N: RefUnwindSafe + Scalar,
    S: 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> 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>,