Struct minecraft_assets::api::FileSystemResourceProvider [−][src]
pub struct FileSystemResourceProvider { /* fields omitted */ }
Expand description
A ResourceProvider
that provides resources from the local file system.
Implementations
Trait Implementations
fn enumerate_resources(
&self,
namespace: &str,
kind: ResourceKind
) -> Result<Vec<ResourceIdentifier<'static>>, Error>
fn enumerate_resources(
&self,
namespace: &str,
kind: ResourceKind
) -> Result<Vec<ResourceIdentifier<'static>>, Error>
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