pub enum AssetPackEntry {
Target(TargetDelta),
Texture(TextureAsset),
Material(MaterialDef),
Preset(MorphPreset),
}Expand description
A single entry that can be stored in an asset pack.
Variants§
Target(TargetDelta)
Raw target-delta data (binary blob).
Texture(TextureAsset)
A texture image asset.
Material(MaterialDef)
A PBR material definition.
Preset(MorphPreset)
A morph-parameter preset.
Trait Implementations§
Source§impl Clone for AssetPackEntry
impl Clone for AssetPackEntry
Source§fn clone(&self) -> AssetPackEntry
fn clone(&self) -> AssetPackEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AssetPackEntry
impl RefUnwindSafe for AssetPackEntry
impl Send for AssetPackEntry
impl Sync for AssetPackEntry
impl Unpin for AssetPackEntry
impl UnsafeUnpin for AssetPackEntry
impl UnwindSafe for AssetPackEntry
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