Enum ncollide2d::query::ClosestPoints
[−]
[src]
pub enum ClosestPoints<N: Real> { Intersecting, WithinMargin(Point<N>, Point<N>), Disjoint, }
Closest points information.
Variants
Intersecting
The two objects are intersecting.
WithinMargin(Point<N>, Point<N>)
The two objects are non-intersecting but closer than a given user-defined distance.
Disjoint
The two objects are non-intersecting and further than a given user-defined distance.
Methods
impl<N: Real> ClosestPoints<N>
[src]
Trait Implementations
impl<N: Debug + Real> Debug for ClosestPoints<N>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<N: PartialEq + Real> PartialEq for ClosestPoints<N>
[src]
fn eq(&self, __arg_0: &ClosestPoints<N>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ClosestPoints<N>) -> bool
[src]
This method tests for !=
.
impl<N: Clone + Real> Clone for ClosestPoints<N>
[src]
fn clone(&self) -> ClosestPoints<N>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more