pub struct AssetInfo {
pub top_class_id: Option<u32>,
pub top_file_id: Option<i64>,
pub script_guid: Option<u128>,
pub sub_assets: Vec<SubAssetEntry>,
}Fields§
§top_class_id: Option<u32>First doc’s class ID. None on a malformed/empty asset.
top_file_id: Option<i64>First doc’s fileID (the &NNN after the class ID).
script_guid: Option<u128>m_Script.guid for the top doc when it’s MonoBehaviour-class (114).
sub_assets: Vec<SubAssetEntry>Sub-asset docs after the first. (class_id, file_id, m_Name).
m_Name is empty when the sub-doc has none — caller decides how to handle.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AssetInfo
impl RefUnwindSafe for AssetInfo
impl Send for AssetInfo
impl Sync for AssetInfo
impl Unpin for AssetInfo
impl UnsafeUnpin for AssetInfo
impl UnwindSafe for AssetInfo
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