Trait dae_parser::Instantiate[][src]

pub trait Instantiate {
    type Data;

    const INSTANCE: &'static str;

    fn parse_data(
        e: &Element,
        it: &mut Peekable<Children<'_>>
    ) -> Result<Self::Data, Error>; }
Expand description

The trait for types that can be used in Instance<T>.

Associated Types

The type of additional data associated with instantiations, possibly ().

Associated Constants

The name of the instance node. For example Geometry::INSTANCE = "instance_geometry".

Required methods

Parse the Self::Data given an element iterator, and a reference to the parent element.

Implementors