pub struct LoadInfo {
pub asset_id: AssetUuid,
pub refs: u32,
pub path: Option<String>,
pub file_name: Option<String>,
pub asset_name: Option<String>,
}Expand description
Information about an asset load operation.
Note: The information is true at the time the LoadInfo is retrieved. The actual number of
references may change.
Fields§
§asset_id: AssetUuidUUID of the asset.
refs: u32Number of references to the asset.
path: Option<String>Path to asset’s source file. Not guaranteed to always be available.
file_name: Option<String>Name of asset’s source file. Not guaranteed to always be available.
asset_name: Option<String>Asset name. Not guaranteed to always be available.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LoadInfo
impl RefUnwindSafe for LoadInfo
impl Send for LoadInfo
impl Sync for LoadInfo
impl Unpin for LoadInfo
impl UnwindSafe for LoadInfo
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