pub struct AssetBundle {
pub provider: AssetProvider,
pub asset_id: String,
pub source_url: String,
pub rights: AssetRights,
pub format: AssetFormat,
pub resolution: AssetResolution,
pub files: Vec<AssetFile>,
pub total_bytes: u64,
}Expand description
Resolved downloadable bundle.
Fields§
§provider: AssetProviderProvider that resolved this bundle.
asset_id: StringCanonical provider asset id.
source_url: StringCanonical human-facing source URL.
rights: AssetRightsLicense and API attribution metadata.
format: AssetFormatSelected format.
resolution: AssetResolutionSelected texture resolution.
files: Vec<AssetFile>Scene and required dependency files.
total_bytes: u64Sum of provider-advertised file sizes.
Trait Implementations§
Source§impl Clone for AssetBundle
impl Clone for AssetBundle
Source§fn clone(&self) -> AssetBundle
fn clone(&self) -> AssetBundle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AssetBundle
impl Debug for AssetBundle
Source§impl<'de> Deserialize<'de> for AssetBundle
impl<'de> Deserialize<'de> for AssetBundle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AssetBundle
Source§impl PartialEq for AssetBundle
impl PartialEq for AssetBundle
Source§impl Serialize for AssetBundle
impl Serialize for AssetBundle
impl StructuralPartialEq for AssetBundle
Auto Trait Implementations§
impl Freeze for AssetBundle
impl RefUnwindSafe for AssetBundle
impl Send for AssetBundle
impl Sync for AssetBundle
impl Unpin for AssetBundle
impl UnsafeUnpin for AssetBundle
impl UnwindSafe for AssetBundle
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