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§
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".