Struct dae_parser::Light [−][src]
pub struct Light {
    pub id: Option<String>,
    pub name: Option<String>,
    pub asset: Option<Box<Asset>>,
    pub kind: LightKind,
    pub technique: Vec<Technique>,
    pub extra: Vec<Extra>,
}Expand description
Declares a light source that illuminates 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.
kind: LightKindThe kind of light being described.
technique: Vec<Technique>Declares the information used to process some portion of the content. (optional)
extra: Vec<Extra>Provides arbitrary additional information about this element.
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.
Extract the library from a single LibraryElement.
Auto Trait Implementations
impl RefUnwindSafe for Light
impl UnwindSafe for Light
Blanket Implementations
Mutably borrows from an owned value. Read more