pub enum M2TextureType {
Hardcoded = 0,
Body = 1,
Item = 2,
WeaponArmorBasic = 3,
WeaponBlade = 4,
WeaponHandle = 5,
Environment = 6,
Hair = 7,
Accessories = 8,
Custom1 = 9,
Custom2 = 10,
Custom3 = 11,
}Expand description
Texture type enum as defined in the M2 format
Variants§
Hardcoded = 0
Regular texture
Body = 1
Body + clothes
Item = 2
Item, capes
WeaponArmorBasic = 3
Weapon, armor (armorless)
WeaponBlade = 4
Weapon blade
WeaponHandle = 5
Weapon handle
Environment = 6
Environment
Hair = 7
Hair, beard
Accessories = 8
Accessories
Custom1 = 9
Custom type, not used
Custom2 = 10
Custom type, not used
Custom3 = 11
Custom type, not used
Implementations§
Trait Implementations§
Source§impl Clone for M2TextureType
impl Clone for M2TextureType
Source§fn clone(&self) -> M2TextureType
fn clone(&self) -> M2TextureType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for M2TextureType
impl Debug for M2TextureType
Source§impl PartialEq for M2TextureType
impl PartialEq for M2TextureType
impl Copy for M2TextureType
impl Eq for M2TextureType
impl StructuralPartialEq for M2TextureType
Auto Trait Implementations§
impl Freeze for M2TextureType
impl RefUnwindSafe for M2TextureType
impl Send for M2TextureType
impl Sync for M2TextureType
impl Unpin for M2TextureType
impl UnwindSafe for M2TextureType
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