ComponentResource

Trait ComponentResource 

Source
pub trait ComponentResource {
    type ResourceRefs<'a>: Iterator<Item = ResourceRef<'a>>
       where Self: 'a;

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

Required Associated Types§

Source

type ResourceRefs<'a>: Iterator<Item = ResourceRef<'a>> where Self: 'a

Required Methods§

Source

fn resource_refs(&self) -> Self::ResourceRefs<'_>

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.

Implementors§