pub trait ComponentResource {
type ResourceRefs<'a>: Iterator<Item = ResourceRef<'a>>
where Self: 'a;
// Required method
fn resource_refs(&self) -> Self::ResourceRefs<'_>;
}Required Associated Types§
type ResourceRefs<'a>: Iterator<Item = ResourceRef<'a>> where Self: 'a
Required Methods§
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.