pub struct UserAsset(AssetRef);Expand description
An asset defined by the user in the assets input file
Tuple Fields§
§0: AssetRefImplementations§
Methods from Deref<Target = <AssetRef as Deref>::Target>§
Sourcefn get_asset_cmp(&self) -> AssetCmp<'_>
fn get_asset_cmp(&self) -> AssetCmp<'_>
Get a representation of this AssetRef that can be used for comparisons
Trait Implementations§
impl StructuralPartialEq for UserAsset
Auto Trait Implementations§
impl Freeze for UserAsset
impl RefUnwindSafe for UserAsset
impl !Send for UserAsset
impl !Sync for UserAsset
impl Unpin for UserAsset
impl UnsafeUnpin for UserAsset
impl UnwindSafe for UserAsset
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more