pub struct AssetUUID(/* private fields */);
Expand description
A globally unique, persistent identifier for a logical asset.
This UUID represents the “idea” of an asset, completely decoupled from its physical file path. It is the primary key used by the Virtual File System (VFS) to track and retrieve asset metadata.
By using a stable UUID, assets can be moved, renamed, or have their source data modified without breaking references to them in scenes or other assets.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AssetUUID
impl<'de> Deserialize<'de> for AssetUUID
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for AssetUUID
impl Eq for AssetUUID
impl StructuralPartialEq for AssetUUID
Auto Trait Implementations§
impl Freeze for AssetUUID
impl RefUnwindSafe for AssetUUID
impl Send for AssetUUID
impl Sync for AssetUUID
impl Unpin for AssetUUID
impl UnwindSafe for AssetUUID
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