Struct ncollide2df64::util::pair::PairTWHash
pub struct PairTWHash { // some fields omitted }
Tomas Wang based hash function for a Pair
object.
Methods
impl PairTWHash
fn new() -> PairTWHash
Creates a new PairTWHash
Trait Implementations
impl<__E: Encoder> Encodable<__E> for PairTWHash
Automatically derived.
fn encode(&self, __arg_0: &mut __E)
impl<__D: Decoder> Decodable<__D> for PairTWHash
Automatically derived.
fn decode(__arg_0: &mut __D) -> PairTWHash
impl<B> HashFun<Pair<B>> for PairTWHash
fn hash(&self, p: &Pair<B>) -> uint
Hash function.