pub enum AssetKey {
Name(String),
Path(PathBuf),
}Expand description
Names and file paths occupy separate namespaces. Paths are compared literally.
Variants§
Trait Implementations§
impl Eq for AssetKey
impl StructuralPartialEq for AssetKey
Auto Trait Implementations§
impl Freeze for AssetKey
impl RefUnwindSafe for AssetKey
impl Send for AssetKey
impl Sync for AssetKey
impl Unpin for AssetKey
impl UnsafeUnpin for AssetKey
impl UnwindSafe for AssetKey
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