Struct parry3d::shape::RoundShape[][src]

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

A shape with rounded borders.

Fields

base_shape: S

The shape being rounded.

border_radius: Real

The radius of the rounded border.

Trait Implementations

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

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

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

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

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

impl Shape for RoundShape<Cuboid>[src]

impl Shape for RoundShape<Triangle>[src]

impl Shape for RoundShape<Cylinder>[src]

impl Shape for RoundShape<Cone>[src]

impl Shape for RoundShape<ConvexPolyhedron>[src]

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

Auto Trait Implementations

impl<S> RefUnwindSafe for RoundShape<S> where
    S: RefUnwindSafe

impl<S> Send for RoundShape<S> where
    S: Send

impl<S> Sync for RoundShape<S> where
    S: Sync

impl<S> Unpin for RoundShape<S> where
    S: Unpin

impl<S> UnwindSafe for RoundShape<S> where
    S: UnwindSafe

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> 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.