pub enum AssetType {
Binary(Vec<u8>),
Text(String),
Folder,
}Expand description
Type of asset content
Variants§
Binary(Vec<u8>)
Raw binary data (heightmaps, custom formats)
Text(String)
Text content (JSON, YAML, scripts)
Folder
Folder (no content, just metadata)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AssetType
impl RefUnwindSafe for AssetType
impl Send for AssetType
impl Sync for AssetType
impl Unpin for AssetType
impl UnwindSafe for AssetType
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