Trait dae_parser::ParseLibrary[][src]

pub trait ParseLibrary: XNode {
    const LIBRARY: &'static str;

    fn extract_element(e: &LibraryElement) -> Option<&Library<Self>>;
}
Expand description

A trait for nodes that can be placed in a library element.

Associated Constants

The name of the library element. For example, the Geometry element has LIBRARY = "library_geometries", and the corresponding library type is Library<Geometry>.

Required methods

Extract the library from a single LibraryElement.

Implementors