pub enum M2TextureType {
Show 16 variants
Hardcoded = 0,
Body = 1,
Item = 2,
WeaponArmorBasic = 3,
WeaponBlade = 4,
WeaponHandle = 5,
Environment = 6,
Hair = 7,
SkinExtra = 8,
UiSkin = 9,
TaurenMane = 10,
Monster1 = 11,
Monster2 = 12,
Monster3 = 13,
ItemIcon = 14,
Unknown = 255,
}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
SkinExtra = 8
Skin extra (accessories)
UiSkin = 9
Inventory art
TaurenMane = 10
Tauren mane
Monster1 = 11
Monster skin 1
Monster2 = 12
Monster skin 2
Monster3 = 13
Monster skin 3
ItemIcon = 14
Item icon
Unknown = 255
Unknown
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§fn clone_from(&mut self, source: &Self)
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more