[][src]Enum box2d_rs::b2_body::B2bodyType

pub enum B2bodyType {
    B2StaticBody,
    B2KinematicBody,
    B2DynamicBody,
}

The body type. static: zero mass, zero velocity, may be manually moved kinematic: zero mass, non-zero velocity set by user, moved by solver dynamic: positive mass, non-zero velocity determined by forces, moved by solver

Variants

B2StaticBody
B2KinematicBody
B2DynamicBody

Trait Implementations

impl Clone for B2bodyType[src]

impl Copy for B2bodyType[src]

impl Debug for B2bodyType[src]

impl Default for B2bodyType[src]

impl PartialEq<B2bodyType> for B2bodyType[src]

impl StructuralPartialEq for B2bodyType[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.