Enum mgf::ComponentConstructor[][src]

pub enum ComponentConstructor {
    Sphere {
        r: f32,
    },
    Capsule {
        r: f32,
        half_h: f32,
    },
}

A description of a Component minus rotation and position.

Variants

Fields of Sphere

Fields of Capsule

Methods

impl ComponentConstructor
[src]

Create a component from a component constructor.

Trait Implementations

impl Copy for ComponentConstructor
[src]

impl Clone for ComponentConstructor
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ComponentConstructor
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations