pub struct TextFileLocator;Trait Implementations§
Source§impl AssetLocator<TextFile> for TextFileLocator
impl AssetLocator<TextFile> for TextFileLocator
Source§fn locate(
&self,
db: &impl Db,
key: &TextFile,
) -> Result<LocateResult<TextFileContent>, QueryError>
fn locate( &self, db: &impl Db, key: &TextFile, ) -> Result<LocateResult<TextFileContent>, QueryError>
Attempt to locate an asset for the given key. Read more
Auto Trait Implementations§
impl Freeze for TextFileLocator
impl RefUnwindSafe for TextFileLocator
impl Send for TextFileLocator
impl Sync for TextFileLocator
impl Unpin for TextFileLocator
impl UnwindSafe for TextFileLocator
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