pub struct ContactEdge {
pub body_id: i32,
pub prev_key: i32,
pub next_key: i32,
}Expand description
A contact edge connects bodies and contacts in a contact graph where each body is a node and each contact is an edge. (b3ContactEdge)
Fields§
§body_id: i32§prev_key: i32§next_key: i32Trait Implementations§
Source§impl Clone for ContactEdge
impl Clone for ContactEdge
Source§fn clone(&self) -> ContactEdge
fn clone(&self) -> ContactEdge
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 ContactEdge
Source§impl Debug for ContactEdge
impl Debug for ContactEdge
Source§impl Default for ContactEdge
impl Default for ContactEdge
impl Eq for ContactEdge
Source§impl PartialEq for ContactEdge
impl PartialEq for ContactEdge
impl StructuralPartialEq for ContactEdge
Auto Trait Implementations§
impl Freeze for ContactEdge
impl RefUnwindSafe for ContactEdge
impl Send for ContactEdge
impl Sync for ContactEdge
impl Unpin for ContactEdge
impl UnsafeUnpin for ContactEdge
impl UnwindSafe for ContactEdge
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