pub trait Manifest: Clone + Sized + PartialEq + Eq + Serialize + DeserializeOwned {
fn locations(&self) -> Vec<Location>;
fn bundled_paths(&self) -> Vec<PathBuf> { ... }
}
Expand description
A Manifest describes the resources in a Bundle
and how
to pack and unpack them.
Regardless of the format of your Manifest, it must contain a set of Locations
describing where to find resources, and this trait must implement locations
properly to match the data contained in the manifest.
You must also specify a relative path for the Manifest, and the extension for the bundle file, if you are using the “packing” feature.
Required Methods
Provided Methods
fn bundled_paths(&self) -> Vec<PathBuf>
fn bundled_paths(&self) -> Vec<PathBuf>
Get only the Bundled locations