Struct dae_parser::Geom[][src]

pub struct Geom<T> {
    pub name: Option<String>,
    pub material: Option<String>,
    pub count: usize,
    pub inputs: InputList,
    pub data: T,
    pub extra: Vec<Extra>,
}
Expand description

The common data for the geometry types:

Fields

name: Option<String>

The text string name of this element.

material: Option<String>

Declares a symbol for a material. This symbol is bound to a material at the time of instantiation; see Instance<Geometry> and BindMaterial. If not specified then the lighting and shading results are application defined.

count: usize

The number of line/triangle/polygon primitives.

inputs: InputList

The vertex attribute access information.

data: T

The specific data for the geometry element.

extra: Vec<Extra>

Provides arbitrary additional information about this element.

Implementations

Construct an Importer from a VertexImporter and a UrlResolver.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.