pub struct LoaderState { /* private fields */ }Implementations§
Source§impl LoaderState
impl LoaderState
pub fn invalidate_assets(&self, assets: &[AssetUuid])
pub fn invalidate_paths(&self, paths: &[PathBuf])
Trait Implementations§
Source§impl LoaderInfoProvider for LoaderState
impl LoaderInfoProvider for LoaderState
Source§fn get_load_handle(&self, id: &AssetRef) -> Option<LoadHandle>
fn get_load_handle(&self, id: &AssetRef) -> Option<LoadHandle>
Returns the load handle for the asset with the given UUID, if present. Read more
Source§fn get_asset_id(&self, load: LoadHandle) -> Option<AssetUuid>
fn get_asset_id(&self, load: LoadHandle) -> Option<AssetUuid>
Returns the AssetUUID for the given LoadHandle, if present. Read more
Auto Trait Implementations§
impl Freeze for LoaderState
impl !RefUnwindSafe for LoaderState
impl Send for LoaderState
impl Sync for LoaderState
impl Unpin for LoaderState
impl !UnwindSafe for LoaderState
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