Struct nphysics2d::resolution::ContactIdentifier
[−]
[src]
pub struct ContactIdentifier<N: Real> { /* fields omitted */ }
The identifier of a contact stored in the impulse cache.
Methods
impl<N: Real> ContactIdentifier<N>
[src]
fn new(obj1: usize,
obj2: usize,
center: Point<N>,
step: &N)
-> ContactIdentifier<N>
obj2: usize,
center: Point<N>,
step: &N)
-> ContactIdentifier<N>
Trait Implementations
impl<N: PartialEq + Real> PartialEq for ContactIdentifier<N>
[src]
fn eq(&self, __arg_0: &ContactIdentifier<N>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ContactIdentifier<N>) -> bool
This method tests for !=
.
impl<N: Real> Eq for ContactIdentifier<N>
[src]
impl<N: Real> Hash for ContactIdentifier<N>
[src]
fn hash<H: Hasher>(&self, state: &mut H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.