Struct ncollide3d::query::PointProjection [−][src]
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: Point<N>
The projection result.
Implementations
impl<N: RealField> PointProjection<N>
[src]
impl<N: RealField> PointProjection<N>
[src]pub fn new(is_inside: bool, point: Point<N>) -> PointProjection<N>
[src]
Initializes a new PointProjection
.
Trait Implementations
impl<N: Clone + RealField> Clone for PointProjection<N>
[src]
impl<N: Clone + RealField> Clone for PointProjection<N>
[src]fn clone(&self) -> PointProjection<N>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<N: Debug + RealField> Debug for PointProjection<N>
[src]
impl<N: Debug + RealField> Debug for PointProjection<N>
[src]impl<N: Copy + RealField> Copy for PointProjection<N>
[src]
Auto Trait Implementations
impl<N> RefUnwindSafe for PointProjection<N> where
N: RefUnwindSafe,
N: RefUnwindSafe,
impl<N> Send for PointProjection<N>
impl<N> Sync for PointProjection<N>
impl<N> Unpin for PointProjection<N> where
N: Unpin,
N: Unpin,
impl<N> UnwindSafe for PointProjection<N> where
N: UnwindSafe,
N: UnwindSafe,
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<T> Slottable for T where
T: Copy,
[src]
T: Copy,