Trait dae_parser::local_map::Traversable[][src]

pub trait Traversable {
    fn traverse<'a, E>(
        doc: &'a Document,
        f: impl FnMut(&'a Self) -> Result<(), E>
    ) -> Result<(), E>
    where
        Self: 'a
; }
Expand description

A trait for types that can be enumerated in a Document. This is used to power the for_each and try_for_each functions.

Required methods

Run the function f on all elements of type Self in the document doc.

Implementors