pub struct UntypedHandle {
pub path: AssetPath,
}Expand description
Fields§
§path: AssetPathThe unique identifier of the asset this handle represents.
Implementations§
Trait Implementations§
Source§impl Clone for UntypedHandle
impl Clone for UntypedHandle
Source§fn clone(&self) -> UntypedHandle
fn clone(&self) -> UntypedHandle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UntypedHandle
impl Debug for UntypedHandle
Source§impl Default for UntypedHandle
impl Default for UntypedHandle
Source§fn default() -> UntypedHandle
fn default() -> UntypedHandle
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UntypedHandle
impl<'de> Deserialize<'de> for UntypedHandle
Source§fn deserialize<D>(
deserializer: D,
) -> Result<UntypedHandle, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<UntypedHandle, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for UntypedHandle
impl Hash for UntypedHandle
Source§impl PartialEq for UntypedHandle
impl PartialEq for UntypedHandle
Source§impl Serialize for UntypedHandle
impl Serialize for UntypedHandle
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for UntypedHandle
impl StructuralPartialEq for UntypedHandle
Auto Trait Implementations§
impl Freeze for UntypedHandle
impl RefUnwindSafe for UntypedHandle
impl Send for UntypedHandle
impl Sync for UntypedHandle
impl Unpin for UntypedHandle
impl UnwindSafe for UntypedHandle
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> FromWorld for Twhere
T: Default,
impl<T> FromWorld for Twhere
T: Default,
Source§fn from_world(_world: &mut World) -> T
fn from_world(_world: &mut World) -> T
Creates
Self using data from the given World.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