bevy_asset

Trait VisitAssetDependencies

Source
pub trait VisitAssetDependencies {
    // Required method
    fn visit_dependencies(&self, visit: &mut impl FnMut(UntypedAssetId));
}

Required Methods§

Source

fn visit_dependencies(&self, visit: &mut impl FnMut(UntypedAssetId))

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.

Implementations on Foreign Types§

Source§

impl VisitAssetDependencies for Option<UntypedHandle>

Source§

fn visit_dependencies(&self, visit: &mut impl FnMut(UntypedAssetId))

Source§

impl VisitAssetDependencies for ()

Source§

fn visit_dependencies(&self, _visit: &mut impl FnMut(UntypedAssetId))

Source§

impl VisitAssetDependencies for Vec<UntypedHandle>

Source§

fn visit_dependencies(&self, visit: &mut impl FnMut(UntypedAssetId))

Source§

impl<A: Asset> VisitAssetDependencies for Option<Handle<A>>

Source§

fn visit_dependencies(&self, visit: &mut impl FnMut(UntypedAssetId))

Source§

impl<A: Asset> VisitAssetDependencies for Vec<Handle<A>>

Source§

fn visit_dependencies(&self, visit: &mut impl FnMut(UntypedAssetId))

Implementors§