[][src]Struct rapier3d::geometry::RoundShape

pub struct RoundShape<S> {
    pub base_shape: S,
    pub border_radius: f32,
}

A shape with rounded borders.

Fields

base_shape: S

The shape being rounded.

border_radius: f32

The radius of the rounded border.

Trait Implementations

impl<S> Clone for RoundShape<S> where
    S: Clone
[src]

impl<S> Copy for RoundShape<S> where
    S: Copy
[src]

impl<S> Debug for RoundShape<S> where
    S: Debug
[src]

impl<S> PointQuery for RoundShape<S> where
    S: SupportMap
[src]

impl<S> RayCast for RoundShape<S> where
    S: SupportMap
[src]

impl Shape for RoundShape<Triangle>[src]

impl Shape for RoundShape<Cuboid>[src]

impl Shape for RoundShape<Cone>[src]

impl Shape for RoundShape<Cylinder>[src]

impl Shape for RoundShape<ConvexPolyhedron>[src]

impl<S> SupportMap for RoundShape<S> where
    S: SupportMap
[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for RoundShape<S> where
    S: RefUnwindSafe
[src]

impl<S> Send for RoundShape<S> where
    S: Send
[src]

impl<S> Sync for RoundShape<S> where
    S: Sync
[src]

impl<S> Unpin for RoundShape<S> where
    S: Unpin
[src]

impl<S> UnwindSafe for RoundShape<S> where
    S: UnwindSafe
[src]

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: Send + Sync + Any
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,