pub struct PackedAssets {
pub m_Contents: Vec<BuildReportPackedAssetInfo>,
pub m_Overhead: u64,
pub m_ShortPath: String,
pub m_File: Option<u32>,
}Expand description
PackedAssets is a class of the Unity engine since version 5.4.0f3. Exert from Unity’s scripting documentation: An extension to the BuildReport class that tracks how Assets contribute to the size of the build. The build process generates a PackedAssets report for each .sharedAssets or .resource file, or for each AssetBundle.
Fields§
§m_Contents: Vec<BuildReportPackedAssetInfo>An array of PackedAssetInfo objects that holds information about the Assets that are included in the PackedAssets bundle, such as packed Asset size and type.
m_Overhead: u64The header size of the packed Asset file.
m_ShortPath: StringThe file path to the Asset package, relative to the Data folder of the build.
m_File: Option<u32>u32: (5.4.0f3 - 2021.2.0a11)
Trait Implementations§
Source§impl Debug for PackedAssets
impl Debug for PackedAssets
Source§impl<'de> Deserialize<'de> for PackedAssets
impl<'de> Deserialize<'de> for PackedAssets
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
Auto Trait Implementations§
impl Freeze for PackedAssets
impl RefUnwindSafe for PackedAssets
impl Send for PackedAssets
impl Sync for PackedAssets
impl Unpin for PackedAssets
impl UnwindSafe for PackedAssets
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