[][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.

Implementations

impl Directory[src]

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

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
[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> 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>, 
[src]

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>, 
[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<V, T> VZip<V> for T where
    V: MultiLane<T>,