Skip to main content

AssetVisitor

Trait AssetVisitor 

Source
pub trait AssetVisitor {
    // Required method
    fn asset<T: AssetTrait>(&mut self, asset: Arc<Asset<T>>);
}
Expand description

Does something with an asset of whatever kind it is.

Required Methods§

Source

fn asset<T: AssetTrait>(&mut self, asset: Arc<Asset<T>>)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§