Struct dae_parser::Geometry [−][src]
pub struct Geometry {
pub id: Option<String>,
pub name: Option<String>,
pub asset: Option<Box<Asset>>,
pub element: GeometryElement,
pub extra: Vec<Extra>,
}
Expand description
Describes the visual shape and appearance of an object in a scene.
Fields
id: Option<String>
A text string containing the unique identifier of the element.
name: Option<String>
The text string name of this element.
asset: Option<Box<Asset>>
Asset management information about this element.
element: GeometryElement
The element that describes geometric data.
extra: Vec<Extra>
Provides arbitrary additional information about this element.
Implementations
Construct a new Geometry
given an id
and the underlying element data.
Trait Implementations
Extract the relevant LocalMap
field from a LocalMaps
.
fn get_local_map_mut<'a, 'b>(
maps: &'b mut LocalMaps<'a>
) -> &'b mut Option<LocalMap<'a, Self>>
fn get_local_map_mut<'a, 'b>(
maps: &'b mut LocalMaps<'a>
) -> &'b mut Option<LocalMap<'a, Self>>
Extract the relevant LocalMap
field from a LocalMaps
.
Auto Trait Implementations
impl RefUnwindSafe for Geometry
impl UnwindSafe for Geometry
Blanket Implementations
Mutably borrows from an owned value. Read more