pub trait VisitAssetDependencies {
// Required method
fn visit_dependencies(&self, visit: &mut impl FnMut(UntypedAssetId));
}
Expand description
This trait defines how to visit the dependencies of an asset. For example, a 3D model might require both textures and meshes to be loaded.
Note that this trait is automatically implemented when deriving Asset
.
Required Methods§
fn visit_dependencies(&self, visit: &mut impl FnMut(UntypedAssetId))
Object Safety§
This trait is not object safe.