[][src]Struct amethyst_assets::Directory

pub struct Directory { /* fields omitted */ }

Directory source.

Please note that there is a default directory source inside the Loader, which is automatically used when you call load. In case you want another, second, directory for assets, you can instantiate one yourself, too. Please use Loader::load_from then.


impl Directory[src]

pub fn new<P>(loc: P) -> Self where
    P: Into<PathBuf>, 

Creates a new directory storage.

Trait Implementations

impl Debug for Directory[src]

impl Source for Directory[src]

Auto Trait Implementations

impl RefUnwindSafe for Directory

impl Send for Directory

impl Sync for Directory

impl Unpin for Directory

impl UnwindSafe for Directory

Blanket Implementations

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

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

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