pub struct ContactLink {
pub contact_id: i32,
pub body_id_a: i32,
pub body_id_b: i32,
}Expand description
Cached contact data stored in the island for fast contiguous iteration. Avoids touching Contact during union-find in island splitting. (b3ContactLink)
Fields§
§contact_id: i32§body_id_a: i32§body_id_b: i32Trait Implementations§
Source§impl Clone for ContactLink
impl Clone for ContactLink
Source§fn clone(&self) -> ContactLink
fn clone(&self) -> ContactLink
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ContactLink
Source§impl Debug for ContactLink
impl Debug for ContactLink
impl Eq for ContactLink
Source§impl PartialEq for ContactLink
impl PartialEq for ContactLink
impl StructuralPartialEq for ContactLink
Auto Trait Implementations§
impl Freeze for ContactLink
impl RefUnwindSafe for ContactLink
impl Send for ContactLink
impl Sync for ContactLink
impl Unpin for ContactLink
impl UnsafeUnpin for ContactLink
impl UnwindSafe for ContactLink
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