Trait TraversableInterpretation

Source
pub trait TraversableInterpretation: Interpretation {
    type Resources<'a>: Iterator<Item = &'a Self::Resource>
       where Self: 'a;

    // Required method
    fn resources(&self) -> Self::Resources<'_>;
}

Required Associated Types§

Source

type Resources<'a>: Iterator<Item = &'a Self::Resource> where Self: 'a

Interpreted resource iterator.

Required Methods§

Source

fn resources(&self) -> Self::Resources<'_>

Returns an iterator over the interpreted resources.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<I: TraversableInterpretation> TraversableInterpretation for &I

Source§

type Resources<'a> = <I as TraversableInterpretation>::Resources<'a> where Self: 'a

Source§

fn resources(&self) -> Self::Resources<'_>

Source§

impl<I: TraversableInterpretation> TraversableInterpretation for &mut I

Source§

type Resources<'a> = <I as TraversableInterpretation>::Resources<'a> where Self: 'a

Source§

fn resources(&self) -> Self::Resources<'_>

Implementors§