[][src]Struct ncollide_geometry::query::PointProjection

pub struct PointProjection<P: Point> {
    pub is_inside: bool,
    pub point: P,
}

Description of the projection of a point on a shape.

Fields

is_inside: bool

Whether or not the point to project was inside of the shape.

point: P

The projection result.

Methods

impl<P: Point> PointProjection<P>[src]

pub fn new(is_inside: bool, point: P) -> PointProjection<P>[src]

Initializes a new PointProjection.

Trait Implementations

impl<P: Copy + Point> Copy for PointProjection<P>[src]

impl<P: Clone + Point> Clone for PointProjection<P>[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<P: Debug + Point> Debug for PointProjection<P>[src]

Auto Trait Implementations

impl<P> Send for PointProjection<P>

impl<P> Sync for PointProjection<P>

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto 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<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> Same for T

type Output = T

Should always be Self