#[repr(transparent)]pub struct SpellLabel(pub i32);Tuple Fields§
§0: i32Implementations§
Source§impl SpellLabel
impl SpellLabel
pub const CLASS_SPELLS: Self
pub const MAGE: Self
pub const PRIEST: Self
pub const WARLOCK: Self
pub const ROGUE: Self
pub const DRUID: Self
pub const MONK: Self
pub const HUNTER: Self
pub const SHAMAN: Self
pub const WARRIOR: Self
pub const PALADIN: Self
pub const DEATH_KNIGHT: Self
pub const MAGE_SECONDARY: Self
pub const DEMON_HUNTER: Self
pub const EVOKER: Self
Sourcepub const EVOKER_RED: Self
pub const EVOKER_RED: Self
Red / Devastation.
Sourcepub const EVOKER_BLUE: Self
pub const EVOKER_BLUE: Self
Blue / Preservation.
Sourcepub const EVOKER_GREEN: Self
pub const EVOKER_GREEN: Self
Green / Augmentation.
Sourcepub const EVOKER_BRONZE: Self
pub const EVOKER_BRONZE: Self
Bronze / utility.
Sourcepub const EVOKER_BLACK: Self
pub const EVOKER_BLACK: Self
Black / melee.
pub const TALENTS: Self
pub const TELEPORT: Self
pub const RANGED_DPS: Self
pub const MAJOR_OFFENSIVE_CD: Self
pub const DISPEL_UTILITY: Self
pub const DIE_ON_FAILURE: Self
Sourcepub const INTERNAL_DNT: Self
pub const INTERNAL_DNT: Self
Internal “Do Not Touch” spells.
pub const SPEC_CORE: Self
pub const TALENT_ROW_A: Self
pub const TALENT_ROW_B: Self
pub const MAJOR_COOLDOWNS: Self
pub const HEALING_SPELLS: Self
pub const ROGUE_LETHAL_POISONS: Self
pub const ROGUE_NON_LETHAL_POISONS: Self
pub const PVP: Self
pub const NPC_ABILITIES: Self
pub const LEGENDARY_ITEMS: Self
pub const ARTIFACT_TRAITS: Self
pub const ARTIFACT_PASSIVES: Self
pub const LEGENDARY_EFFECTS: Self
pub const AZERITE_ESSENCES: Self
pub const SHADOWLANDS_GENERAL: Self
pub const SHADOWLANDS_COMBAT: Self
pub const CONDUITS: Self
pub const COVENANT: Self
pub const DRAGON_RACING: Self
pub const DRAGONFLIGHT_CRAFTED_GEAR: Self
pub const PRIMORDIAL_STONE: Self
pub const SINGING_CITRINE: Self
pub const BRANN_DELVES: Self
pub const HERO_TALENTS: Self
pub const ITEM_EFFECTS: Self
pub const FURNITURE_CRAFTS: Self
pub const BLACKSMITHING: Self
pub const LEATHERWORKING: Self
pub const TAILORING: Self
pub const SKINNING: Self
pub const ALCHEMY: Self
pub const JEWELCRAFTING: Self
pub const ALL_PROFESSIONS: Self
pub const COOKING: Self
pub const MODIFIED_CRAFTING_REAGENTS: Self
pub const ENCHANTING: Self
pub const INSCRIPTION: Self
pub const ALL_CRAFTED: Self
pub const ENGINEERING: Self
pub const MINING: Self
pub const HERBALISM: Self
pub const PROF_CLASSIC: Self
pub const PROF_TBC: Self
pub const PROF_WOTLK: Self
pub const PROF_CATA: Self
pub const PROF_MOP: Self
pub const PROF_WOD: Self
pub const PROF_LEGION: Self
pub const PROF_BFA: Self
pub const PROF_DF: Self
pub const KNOWN: &'static [(Self, &'static str)]
pub fn known() -> impl Iterator<Item = (Self, &'static str)> + 'static
pub fn is_known(self) -> bool
pub fn name(self) -> Option<&'static str>
Trait Implementations§
Source§impl Clone for SpellLabel
impl Clone for SpellLabel
Source§fn clone(&self) -> SpellLabel
fn clone(&self) -> SpellLabel
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 SpellLabel
impl Debug for SpellLabel
Source§impl Default for SpellLabel
impl Default for SpellLabel
Source§fn default() -> SpellLabel
fn default() -> SpellLabel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SpellLabel
impl<'de> Deserialize<'de> for SpellLabel
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
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 SpellLabel
impl Display for SpellLabel
Source§impl From<SpellLabel> for i32
impl From<SpellLabel> for i32
Source§fn from(label: SpellLabel) -> Self
fn from(label: SpellLabel) -> Self
Converts to this type from the input type.
Source§impl From<i32> for SpellLabel
impl From<i32> for SpellLabel
Source§impl Hash for SpellLabel
impl Hash for SpellLabel
Source§impl JsonSchema for SpellLabel
impl JsonSchema for SpellLabel
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Ord for SpellLabel
impl Ord for SpellLabel
Source§fn cmp(&self, other: &SpellLabel) -> Ordering
fn cmp(&self, other: &SpellLabel) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SpellLabel
impl PartialEq for SpellLabel
Source§impl PartialOrd for SpellLabel
impl PartialOrd for SpellLabel
Source§impl Serialize for SpellLabel
impl Serialize for SpellLabel
impl Copy for SpellLabel
impl Eq for SpellLabel
impl StructuralPartialEq for SpellLabel
Auto Trait Implementations§
impl Freeze for SpellLabel
impl RefUnwindSafe for SpellLabel
impl Send for SpellLabel
impl Sync for SpellLabel
impl Unpin for SpellLabel
impl UnsafeUnpin for SpellLabel
impl UnwindSafe for SpellLabel
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,
§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of [
ToCompactString::to_compact_string()] Read more§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a [
CompactString]. Read more