pub struct DefaultIndirectionResolver;Expand description
Default implementation of IndirectionResolver which resolves to the first asset in the list of candidates
of the appropriate type.
Trait Implementations§
Source§impl IndirectionResolver for DefaultIndirectionResolver
impl IndirectionResolver for DefaultIndirectionResolver
fn resolve( &self, id: &IndirectIdentifier, candidates: Vec<(PathBuf, Vec<AssetMetadata>)>, ) -> Option<AssetUuid>
Auto Trait Implementations§
impl Freeze for DefaultIndirectionResolver
impl RefUnwindSafe for DefaultIndirectionResolver
impl Send for DefaultIndirectionResolver
impl Sync for DefaultIndirectionResolver
impl Unpin for DefaultIndirectionResolver
impl UnwindSafe for DefaultIndirectionResolver
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more