[][src]Struct box2d_rs::b2_collision::B2contactFeature

pub struct B2contactFeature {
    pub index_a: u8,
    pub index_b: u8,
    pub type_a: u8,
    pub type_b: u8,
}

The features that intersect to form the contact point This must be 4 bytes or less.

Fields

index_a: u8

Feature index on shape_a

index_b: u8

Feature index on shape_b

type_a: u8

The feature type on shape_a

type_b: u8

The feature type on shape_b

Trait Implementations

impl Clone for B2contactFeature[src]

impl Copy for B2contactFeature[src]

impl Debug for B2contactFeature[src]

impl Default for B2contactFeature[src]

impl PartialEq<B2contactFeature> for B2contactFeature[src]

impl StructuralPartialEq for B2contactFeature[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.