pub enum AssetRef {
Uuid(AssetUuid),
Path(PathBuf),
}Expand description
A potentially unresolved reference to an asset
Variants§
Implementations§
Trait Implementations§
Source§impl Ord for AssetRef
impl Ord for AssetRef
Source§impl PartialOrd for AssetRef
impl PartialOrd for AssetRef
impl Eq for AssetRef
impl StructuralPartialEq for AssetRef
Auto Trait Implementations§
impl Freeze for AssetRef
impl RefUnwindSafe for AssetRef
impl Send for AssetRef
impl Sync for AssetRef
impl Unpin for AssetRef
impl UnwindSafe for AssetRef
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