Struct ncollide2df64::util::pair::Pair
pub struct Pair<B> { first: B, second: B, // some fields omitted }
An unordered pair of elements implementing HasUid
.
Fields
first | first object of the pair |
second | second object of the pair |
Methods
impl<B: HasUid> Pair<B>
fn new(a: B, b: B) -> Pair<B>
Builds a new Pair
.
Trait Implementations
impl<B: Clone> Clone for Pair<B>
Automatically derived.
fn clone(&self) -> Pair<B>
impl<__E: Encoder, B: Encodable<__E>> Encodable<__E> for Pair<B>
Automatically derived.
fn encode(&self, __arg_0: &mut __E)
impl<__D: Decoder, B: Decodable<__D>> Decodable<__D> for Pair<B>
Automatically derived.