pub struct BodyPairKey {
pub body_a: u32,
pub body_b: u32,
}Expand description
Body pair key for manifold lookup
Fields§
§body_a: u32Index of body A (always the smaller index)
body_b: u32Index of body B (always the larger index)
Implementations§
Trait Implementations§
Source§impl Clone for BodyPairKey
impl Clone for BodyPairKey
impl Copy for BodyPairKey
Source§impl Debug for BodyPairKey
impl Debug for BodyPairKey
impl Eq for BodyPairKey
Source§impl Hash for BodyPairKey
impl Hash for BodyPairKey
Source§impl PartialEq for BodyPairKey
impl PartialEq for BodyPairKey
impl StructuralPartialEq for BodyPairKey
Auto Trait Implementations§
impl Freeze for BodyPairKey
impl RefUnwindSafe for BodyPairKey
impl Send for BodyPairKey
impl Sync for BodyPairKey
impl Unpin for BodyPairKey
impl UnsafeUnpin for BodyPairKey
impl UnwindSafe for BodyPairKey
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more