pub struct MetaInfo {
pub guid: u128,
pub sprite_sheet: Vec<(i64, String)>,
pub texture_type: Option<u32>,
pub sprite_mode: Option<u32>,
}Expand description
Parsed contents of a .meta file.
Fields§
§guid: u12832-hex GUID parsed as u128.
sprite_sheet: Vec<(i64, String)>Texture sprite-sheet sub-assets, if the importer is TextureImporter
with sprite mode = Multiple. (file_id, name) pairs.
texture_type: Option<u32>TextureImporter.textureType. None for non-texture importers.
sprite_mode: Option<u32>TextureImporter.spriteMode. None for non-texture importers.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MetaInfo
impl RefUnwindSafe for MetaInfo
impl Send for MetaInfo
impl Sync for MetaInfo
impl Unpin for MetaInfo
impl UnsafeUnpin for MetaInfo
impl UnwindSafe for MetaInfo
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