Enum Skill

Source
pub enum Skill {
Show 136 variants None, Frost, Fire, Arms, Combat, Subtlety, Poisons, Swords, Axes, Bows, Guns, BeastMastery, Survival, Maces, TwoHandedSwords, Holy, Shadow, Defense, LanguageCommon, RacialDwarven, LanguageOrcish, LanguageDwarven, LanguageDarnassian, LanguageTaurahe, DualWield, RacialTauren, OrcRacial, RacialNightElf, FirstAid, FeralCombat, Staves, LanguageThalassian, LanguageDraconic, LanguageDemonTongue, LanguageTitan, LanguageOldTongue, Survival2, RidingHorse, RidingWolf, RidingTiger, RidingRam, Swimming, TwoHandedMaces, Unarmed, Marksmanship, Blacksmithing, Leatherworking, Alchemy, TwoHandedAxes, Daggers, Thrown, Herbalism, GenericDnd, Retribution, Cooking, Mining, PetImp, PetFelhunter, Tailoring, Engineering, PetSpider, PetVoidwalker, PetSuccubus, PetInfernal, PetDoomguard, PetWolf, PetCat, PetBear, PetBoar, PetCrocilisk, PetCarrionBird, PetCrab, PetGorilla, PetRaptor, PetTallstrider, RacialUnded, Crossbows, Wands, Polearms, PetScorpid, Arcane, PetTurtle, Assassination, Fury, Protection, BeastTraining, Protection2, PetTalents, PlateMail, LanguageGnomish, LanguageTroll, Enchanting, Demonology, Affliction, Fishing, Enhancement, Restoration, ElementalCombat, Skinning, Mail, Leather, Cloth, Shield, FistWeapons, RidingRaptor, RidingMechanostrider, RidingUndeadHorse, Restoration2, Balance, Destruction, Holy2, Discipline, Lockpicking, PetBat, PetHyena, PetOwl, PetWindSerpent, LanguageGutterspeak, RidingKodo, RacialTroll, RacialGnome, RacialHuman, Jewelcrafting, RacialBloodelf, PetEventRc, LanguageDraenei, RacialDraenei, PetFelguard, Riding, PetDragonhawk, PetNetherRay, PetSporebat, PetWarpStalker, PetRavager, PetSerpent, Internal,
}
Available on crate feature tbc only.
Expand description

Auto generated from the original wowm in file wow_message_parser/wowm/world/enums/skill.wowm:131:

enum Skill : u16 {
    NONE = 0;
    FROST = 6;
    FIRE = 8;
    ARMS = 26;
    COMBAT = 38;
    SUBTLETY = 39;
    POISONS = 40;
    SWORDS = 43;
    AXES = 44;
    BOWS = 45;
    GUNS = 46;
    BEAST_MASTERY = 50;
    SURVIVAL = 51;
    MACES = 54;
    TWO_HANDED_SWORDS = 55;
    HOLY = 56;
    SHADOW = 78;
    DEFENSE = 95;
    LANGUAGE_COMMON = 98;
    RACIAL_DWARVEN = 101;
    LANGUAGE_ORCISH = 109;
    LANGUAGE_DWARVEN = 111;
    LANGUAGE_DARNASSIAN = 113;
    LANGUAGE_TAURAHE = 115;
    DUAL_WIELD = 118;
    RACIAL_TAUREN = 124;
    ORC_RACIAL = 125;
    RACIAL_NIGHT_ELF = 126;
    FIRST_AID = 129;
    FERAL_COMBAT = 134;
    STAVES = 136;
    LANGUAGE_THALASSIAN = 137;
    LANGUAGE_DRACONIC = 138;
    LANGUAGE_DEMON_TONGUE = 139;
    LANGUAGE_TITAN = 140;
    LANGUAGE_OLD_TONGUE = 141;
    SURVIVAL2 = 142;
    RIDING_HORSE = 148;
    RIDING_WOLF = 149;
    RIDING_TIGER = 150;
    RIDING_RAM = 152;
    SWIMMING = 155;
    TWO_HANDED_MACES = 160;
    UNARMED = 162;
    MARKSMANSHIP = 163;
    BLACKSMITHING = 164;
    LEATHERWORKING = 165;
    ALCHEMY = 171;
    TWO_HANDED_AXES = 172;
    DAGGERS = 173;
    THROWN = 176;
    HERBALISM = 182;
    GENERIC_DND = 183;
    RETRIBUTION = 184;
    COOKING = 185;
    MINING = 186;
    PET_IMP = 188;
    PET_FELHUNTER = 189;
    TAILORING = 197;
    ENGINEERING = 202;
    PET_SPIDER = 203;
    PET_VOIDWALKER = 204;
    PET_SUCCUBUS = 205;
    PET_INFERNAL = 206;
    PET_DOOMGUARD = 207;
    PET_WOLF = 208;
    PET_CAT = 209;
    PET_BEAR = 210;
    PET_BOAR = 211;
    PET_CROCILISK = 212;
    PET_CARRION_BIRD = 213;
    PET_CRAB = 214;
    PET_GORILLA = 215;
    PET_RAPTOR = 217;
    PET_TALLSTRIDER = 218;
    RACIAL_UNDED = 220;
    CROSSBOWS = 226;
    WANDS = 228;
    POLEARMS = 229;
    PET_SCORPID = 236;
    ARCANE = 237;
    PET_TURTLE = 251;
    ASSASSINATION = 253;
    FURY = 256;
    PROTECTION = 257;
    BEAST_TRAINING = 261;
    PROTECTION2 = 267;
    PET_TALENTS = 270;
    PLATE_MAIL = 293;
    LANGUAGE_GNOMISH = 313;
    LANGUAGE_TROLL = 315;
    ENCHANTING = 333;
    DEMONOLOGY = 354;
    AFFLICTION = 355;
    FISHING = 356;
    ENHANCEMENT = 373;
    RESTORATION = 374;
    ELEMENTAL_COMBAT = 375;
    SKINNING = 393;
    MAIL = 413;
    LEATHER = 414;
    CLOTH = 415;
    SHIELD = 433;
    FIST_WEAPONS = 473;
    RIDING_RAPTOR = 533;
    RIDING_MECHANOSTRIDER = 553;
    RIDING_UNDEAD_HORSE = 554;
    RESTORATION2 = 573;
    BALANCE = 574;
    DESTRUCTION = 593;
    HOLY2 = 594;
    DISCIPLINE = 613;
    LOCKPICKING = 633;
    PET_BAT = 653;
    PET_HYENA = 654;
    PET_OWL = 655;
    PET_WIND_SERPENT = 656;
    LANGUAGE_GUTTERSPEAK = 673;
    RIDING_KODO = 713;
    RACIAL_TROLL = 733;
    RACIAL_GNOME = 753;
    RACIAL_HUMAN = 754;
    JEWELCRAFTING = 755;
    RACIAL_BLOODELF = 756;
    PET_EVENT_RC = 758;
    LANGUAGE_DRAENEI = 759;
    RACIAL_DRAENEI = 760;
    PET_FELGUARD = 761;
    RIDING = 762;
    PET_DRAGONHAWK = 763;
    PET_NETHER_RAY = 764;
    PET_SPOREBAT = 765;
    PET_WARP_STALKER = 766;
    PET_RAVAGER = 767;
    PET_SERPENT = 768;
    INTERNAL = 769;
}

Variants§

§

None

§

Frost

§

Fire

§

Arms

§

Combat

§

Subtlety

§

Poisons

§

Swords

§

Axes

§

Bows

§

Guns

§

BeastMastery

§

Survival

§

Maces

§

TwoHandedSwords

§

Holy

§

Shadow

§

Defense

§

LanguageCommon

§

RacialDwarven

§

LanguageOrcish

§

LanguageDwarven

§

LanguageDarnassian

§

LanguageTaurahe

§

DualWield

§

RacialTauren

§

OrcRacial

§

RacialNightElf

§

FirstAid

§

FeralCombat

§

Staves

§

LanguageThalassian

§

LanguageDraconic

§

LanguageDemonTongue

§

LanguageTitan

§

LanguageOldTongue

§

Survival2

§

RidingHorse

§

RidingWolf

§

RidingTiger

§

RidingRam

§

Swimming

§

TwoHandedMaces

§

Unarmed

§

Marksmanship

§

Blacksmithing

§

Leatherworking

§

Alchemy

§

TwoHandedAxes

§

Daggers

§

Thrown

§

Herbalism

§

GenericDnd

§

Retribution

§

Cooking

§

Mining

§

PetImp

§

PetFelhunter

§

Tailoring

§

Engineering

§

PetSpider

§

PetVoidwalker

§

PetSuccubus

§

PetInfernal

§

PetDoomguard

§

PetWolf

§

PetCat

§

PetBear

§

PetBoar

§

PetCrocilisk

§

PetCarrionBird

§

PetCrab

§

PetGorilla

§

PetRaptor

§

PetTallstrider

§

RacialUnded

§

Crossbows

§

Wands

§

Polearms

§

PetScorpid

§

Arcane

§

PetTurtle

§

Assassination

§

Fury

§

Protection

§

BeastTraining

§

Protection2

§

PetTalents

§

PlateMail

§

LanguageGnomish

§

LanguageTroll

§

Enchanting

§

Demonology

§

Affliction

§

Fishing

§

Enhancement

§

Restoration

§

ElementalCombat

§

Skinning

§

Mail

§

Leather

§

Cloth

§

Shield

§

FistWeapons

§

RidingRaptor

§

RidingMechanostrider

§

RidingUndeadHorse

§

Restoration2

§

Balance

§

Destruction

§

Holy2

§

Discipline

§

Lockpicking

§

PetBat

§

PetHyena

§

PetOwl

§

PetWindSerpent

§

LanguageGutterspeak

§

RidingKodo

§

RacialTroll

§

RacialGnome

§

RacialHuman

§

Jewelcrafting

§

RacialBloodelf

§

PetEventRc

§

LanguageDraenei

§

RacialDraenei

§

PetFelguard

§

Riding

§

PetDragonhawk

§

PetNetherRay

§

PetSporebat

§

PetWarpStalker

§

PetRavager

§

PetSerpent

§

Internal

Implementations§

Source§

impl Skill

Source

pub const fn category(&self) -> Option<SkillCategory>

Available on crate feature extended only.
Source§

impl Skill

Source

pub const fn as_int(&self) -> u16

Source

pub const fn variants() -> [Self; 136]

Source

pub const fn from_int(value: u16) -> Result<Self, EnumError>

Source§

impl Skill

Source

pub const fn as_test_case_value(&self) -> &'static str

Available on crate feature print-testcase only.

Trait Implementations§

Source§

impl Clone for Skill

Source§

fn clone(&self) -> Skill

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Skill

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Skill

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for Skill

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for Skill

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Hash for Skill

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Ord for Skill

Source§

fn cmp(&self, other: &Skill) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for Skill

Source§

fn eq(&self, other: &Skill) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for Skill

Source§

fn partial_cmp(&self, other: &Skill) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Serialize for Skill

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<i16> for Skill

Source§

type Error = EnumError

The type returned in the event of a conversion error.
Source§

fn try_from(value: i16) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i32> for Skill

Source§

type Error = EnumError

The type returned in the event of a conversion error.
Source§

fn try_from(value: i32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i64> for Skill

Source§

type Error = EnumError

The type returned in the event of a conversion error.
Source§

fn try_from(value: i64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i8> for Skill

Source§

type Error = EnumError

The type returned in the event of a conversion error.
Source§

fn try_from(value: i8) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u16> for Skill

Source§

type Error = EnumError

The type returned in the event of a conversion error.
Source§

fn try_from(value: u16) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u32> for Skill

Source§

type Error = EnumError

The type returned in the event of a conversion error.
Source§

fn try_from(value: u32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u64> for Skill

Source§

type Error = EnumError

The type returned in the event of a conversion error.
Source§

fn try_from(value: u64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u8> for Skill

Source§

type Error = EnumError

The type returned in the event of a conversion error.
Source§

fn try_from(value: u8) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<usize> for Skill

Source§

type Error = EnumError

The type returned in the event of a conversion error.
Source§

fn try_from(value: usize) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl Copy for Skill

Source§

impl Eq for Skill

Source§

impl StructuralPartialEq for Skill

Auto Trait Implementations§

§

impl Freeze for Skill

§

impl RefUnwindSafe for Skill

§

impl Send for Skill

§

impl Sync for Skill

§

impl Unpin for Skill

§

impl UnwindSafe for Skill

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,