pub struct AssetId(/* private fields */);
Expand description
Simple ID to refer to one asset in a Setup
or Assets
struct.
Note: the field of this struct is public such that it can be created by
the assets!
macro. However, you must not create instances of AssetId
yourself or access this field.
Trait Implementations§
impl Copy for AssetId
impl Eq for AssetId
impl StructuralPartialEq for AssetId
Auto Trait Implementations§
impl Freeze for AssetId
impl RefUnwindSafe for AssetId
impl Send for AssetId
impl Sync for AssetId
impl Unpin for AssetId
impl UnwindSafe for AssetId
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