Struct minecraft_assets::api::FileSystemResourceProvider[][src]

pub struct FileSystemResourceProvider { /* fields omitted */ }
Expand description

A ResourceProvider that provides resources from the local file system.

Implementations

Returns a new provider that provides resources from the given root directory.

The root directory should be the directory that contains the assets/ and (optionally) data/ directory.

Trait Implementations

Enumerates the available resources of the given ResourceKind in the given namespace. Read more

Returns the raw bytes of the resource referenced by the given ResourceIdentifier. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.