Enum rapier3d::geometry::ShapeType[][src]

pub enum ShapeType {
    Ball,
    Cuboid,
    Capsule,
    Segment,
    Triangle,
    TriMesh,
    Polyline,
    HalfSpace,
    HeightField,
    Compound,
    ConvexPolyhedron,
    Cylinder,
    Cone,
    RoundCuboid,
    RoundTriangle,
    RoundCylinder,
    RoundCone,
    RoundConvexPolyhedron,
    Custom,
}

Enum representing the type of a shape.

Variants

Ball

A ball shape.

Cuboid

A cuboid shape.

Capsule

A capsule shape.

Segment

A segment shape.

Triangle

A triangle shape.

TriMesh

A triangle mesh shape.

Polyline

A set of segments.

HalfSpace

A shape representing a full half-space.

HeightField

A heightfield shape.

Compound

A Compound shape.

ConvexPolyhedron

A convex polyhedron.

Cylinder

A cylindrical shape.

Cone

A cylindrical shape.

RoundCuboid

A cuboid with rounded corners.

RoundTriangle

A triangle with rounded corners.

RoundCylinder

A cylinder with rounded corners.

RoundCone

A cone with rounded corners.

RoundConvexPolyhedron

A convex polyhedron with rounded corners.

Custom

A custom user-defined shape.

Trait Implementations

impl Clone for ShapeType[src]

impl Copy for ShapeType[src]

impl Debug for ShapeType[src]

impl FromPrimitive for ShapeType[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> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Any + Send + Sync
[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[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.