Struct bevy::asset::AssetPath[]

pub struct AssetPath<'a> { /* fields omitted */ }

Implementations

impl<'a> AssetPath<'a>

pub fn new_ref(path: &'a Path, label: Option<&'a str>) -> AssetPath<'a>

pub fn new(path: PathBuf, label: Option<String>) -> AssetPath<'a>

pub fn get_id(&self) -> AssetPathId

pub fn label(&self) -> Option<&str>

pub fn path(&self) -> &Path

pub fn to_owned(&self) -> AssetPath<'static>

Trait Implementations

impl<'a> Clone for AssetPath<'a>

impl<'a> Debug for AssetPath<'a>

impl<'de, 'a> Deserialize<'de> for AssetPath<'a>

impl<'a, 'b> From<&'a AssetPath<'b>> for AssetPathId

impl<'a> From<&'a Path> for AssetPath<'a>

impl<'a> From<&'a str> for AssetPath<'a>

impl<'a> From<AssetPath<'a>> for HandleId

impl<'a> From<AssetPath<'a>> for SourcePathId

impl<'a> From<PathBuf> for AssetPath<'a>

impl<'a> Hash for AssetPath<'a>

impl<'a> Serialize for AssetPath<'a>

Auto Trait Implementations

impl<'a> RefUnwindSafe for AssetPath<'a>

impl<'a> Send for AssetPath<'a>

impl<'a> Sync for AssetPath<'a>

impl<'a> Unpin for AssetPath<'a>

impl<'a> UnwindSafe for AssetPath<'a>

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<T> CallHasher for T where
    T: Hash + ?Sized

impl<T> CallHasher for T where
    T: Hash

impl<T> CloneAny for T where
    T: Any + Clone

impl<T> Component for T where
    T: 'static + Send + Sync

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Downcast for T where
    T: Any

impl<T> Downcast<T> for T

impl<T> DowncastSync for T where
    T: Any + Send + Sync

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

impl<T> Instrument for T[src]

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

impl<T> Serialize for T where
    T: Serialize + ?Sized
[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.

impl<T> TypeData for T where
    T: 'static + Send + Sync + Clone

impl<T> Upcast<T> for T

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,