pub enum ImageIdentity {
Embedded(usize),
Loaded(u64),
}Expand description
Identity for a cache entry. Loaded assets can outlive their original scene without making a later allocation at the same address hit an old texture.
Variants§
Trait Implementations§
Source§impl Clone for ImageIdentity
impl Clone for ImageIdentity
impl Copy for ImageIdentity
Source§impl Debug for ImageIdentity
impl Debug for ImageIdentity
impl Eq for ImageIdentity
Source§impl Hash for ImageIdentity
impl Hash for ImageIdentity
Source§impl PartialEq for ImageIdentity
impl PartialEq for ImageIdentity
impl StructuralPartialEq for ImageIdentity
Auto Trait Implementations§
impl Forget for ImageIdentity
impl Freeze for ImageIdentity
impl Move for ImageIdentity
impl RefUnwindSafe for ImageIdentity
impl Send for ImageIdentity
impl Sync for ImageIdentity
impl Unpin for ImageIdentity
impl UnsafeUnpin for ImageIdentity
impl UnwindSafe for ImageIdentity
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