Trait minecraft_assets::api::EnumerateResources [−][src]
pub trait EnumerateResources {
fn enumerate_resources(
&self,
namespace: &str,
kind: ResourceKind
) -> Result<Vec<ResourceIdentifier<'static>>, Error>;
}
Expand description
Indicates that a type can enumerate available resources.
Required methods
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.