[][src]Enum k::link::Geometry

pub enum Geometry<T: RealField> {
    Box {
        depth: T,
        width: T,
        height: T,
    },
    Cylinder {
        radius: T,
        length: T,
    },
    Sphere {
        radius: T,
    },
    Mesh {
        filename: String,
        scale: Vector3<T>,
    },
}

Variants

Box

Fields of Box

depth: Twidth: Theight: T
Cylinder

Fields of Cylinder

radius: Tlength: T
Sphere

Fields of Sphere

radius: T
Mesh

Fields of Mesh

filename: Stringscale: Vector3<T>

Trait Implementations

impl<T: Clone + RealField> Clone for Geometry<T>[src]

impl<T: Debug + RealField> Debug for Geometry<T>[src]

impl<T> From<Geometry> for Geometry<T> where
    T: RealField
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Geometry<T> where
    T: RefUnwindSafe + Scalar

impl<T> Send for Geometry<T> where
    T: Scalar

impl<T> Sync for Geometry<T> where
    T: Scalar

impl<T> Unpin for Geometry<T> where
    T: Scalar + Unpin

impl<T> UnwindSafe for Geometry<T> where
    T: Scalar + 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> 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>, 

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.