pub struct FeaturePair {
pub owner1: u8,
pub index1: u8,
pub owner2: u8,
pub index2: u8,
}Expand description
Contact points are always the result of two edges intersecting. It can be two edges of the same shape, which is just a shape vertex. Or a contact point can be the result of two edges crossing from different shapes. (b3FeaturePair)
Fields§
§owner1: u8Incoming type (either edge on shape A or shape B)
index1: u8Incoming edge index (into associated shape array)
owner2: u8Outgoing type (either edge on shape A or shape B)
index2: u8Outgoing edge index (into associated shape array)
Trait Implementations§
Source§impl Clone for FeaturePair
impl Clone for FeaturePair
Source§fn clone(&self) -> FeaturePair
fn clone(&self) -> FeaturePair
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 FeaturePair
Source§impl Debug for FeaturePair
impl Debug for FeaturePair
Source§impl Default for FeaturePair
impl Default for FeaturePair
Source§fn default() -> FeaturePair
fn default() -> FeaturePair
Returns the “default value” for a type. Read more
impl Eq for FeaturePair
Source§impl PartialEq for FeaturePair
impl PartialEq for FeaturePair
impl StructuralPartialEq for FeaturePair
Auto Trait Implementations§
impl Freeze for FeaturePair
impl RefUnwindSafe for FeaturePair
impl Send for FeaturePair
impl Sync for FeaturePair
impl Unpin for FeaturePair
impl UnsafeUnpin for FeaturePair
impl UnwindSafe for FeaturePair
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