#[repr(transparent)]pub struct Asset(pub AssetPathRef);
Tuple Fields§
§0: AssetPathRef
Trait Implementations§
source§impl From<&AssetPathRef> for &Asset
impl From<&AssetPathRef> for &Asset
source§fn from(other: &AssetPathRef) -> Self
fn from(other: &AssetPathRef) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for Asset
impl Send for Asset
impl Sync for Asset
impl Unpin for Asset
impl UnwindSafe for Asset
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