Enum distill_loader::storage::IndirectIdentifier[][src]

pub enum IndirectIdentifier {
    PathWithTagAndType(StringStringAssetTypeId),
    PathWithType(StringAssetTypeId),
    Path(String),
}

An indirect identifier that can be resolved to a specific AssetUuid by an IndirectionResolver impl.

Variants

PathWithTagAndType(StringStringAssetTypeId)
PathWithType(StringAssetTypeId)
Path(String)

Implementations

impl IndirectIdentifier[src]

pub fn path(&self) -> &str[src]

pub fn type_id(&self) -> Option<&AssetTypeId>[src]

Trait Implementations

impl Clone for IndirectIdentifier[src]

impl Debug for IndirectIdentifier[src]

impl Eq for IndirectIdentifier[src]

impl Hash for IndirectIdentifier[src]

impl PartialEq<IndirectIdentifier> for IndirectIdentifier[src]

impl StructuralEq for IndirectIdentifier[src]

impl StructuralPartialEq for IndirectIdentifier[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.