Struct manganis_common::AssetManifest
source · pub struct AssetManifest { /* private fields */ }
Expand description
A manifest of all assets collected from dependencies
Implementations§
source§impl AssetManifest
impl AssetManifest
sourcepub fn new(packages: Vec<PackageAssets>) -> Self
pub fn new(packages: Vec<PackageAssets>) -> Self
Creates a new asset manifest
sourcepub fn packages(&self) -> &Vec<PackageAssets>
pub fn packages(&self) -> &Vec<PackageAssets>
Returns all assets collected from dependencies
Trait Implementations§
source§impl Clone for AssetManifest
impl Clone for AssetManifest
source§fn clone(&self) -> AssetManifest
fn clone(&self) -> AssetManifest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AssetManifest
impl Debug for AssetManifest
source§impl Default for AssetManifest
impl Default for AssetManifest
source§fn default() -> AssetManifest
fn default() -> AssetManifest
Returns the “default value” for a type. Read more
source§impl PartialEq for AssetManifest
impl PartialEq for AssetManifest
source§fn eq(&self, other: &AssetManifest) -> bool
fn eq(&self, other: &AssetManifest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssetManifest
Auto Trait Implementations§
impl Freeze for AssetManifest
impl RefUnwindSafe for AssetManifest
impl Send for AssetManifest
impl Sync for AssetManifest
impl Unpin for AssetManifest
impl UnwindSafe for AssetManifest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more