Skip to main content

SpellLabel

Struct SpellLabel 

Source
#[repr(transparent)]
pub struct SpellLabel(pub i32);

Tuple Fields§

§0: i32

Implementations§

Source§

impl SpellLabel

Source

pub const CLASS_SPELLS: Self

Source

pub const MAGE: Self

Source

pub const PRIEST: Self

Source

pub const WARLOCK: Self

Source

pub const ROGUE: Self

Source

pub const DRUID: Self

Source

pub const MONK: Self

Source

pub const HUNTER: Self

Source

pub const SHAMAN: Self

Source

pub const WARRIOR: Self

Source

pub const PALADIN: Self

Source

pub const DEATH_KNIGHT: Self

Source

pub const MAGE_SECONDARY: Self

Source

pub const DEMON_HUNTER: Self

Source

pub const EVOKER: Self

Source

pub const EVOKER_RED: Self

Red / Devastation.

Source

pub const EVOKER_BLUE: Self

Blue / Preservation.

Source

pub const EVOKER_GREEN: Self

Green / Augmentation.

Source

pub const EVOKER_BRONZE: Self

Bronze / utility.

Source

pub const EVOKER_BLACK: Self

Black / melee.

Source

pub const TALENTS: Self

Source

pub const TELEPORT: Self

Source

pub const RANGED_DPS: Self

Source

pub const MAJOR_OFFENSIVE_CD: Self

Source

pub const DISPEL_UTILITY: Self

Source

pub const DIE_ON_FAILURE: Self

Source

pub const INTERNAL_DNT: Self

Internal “Do Not Touch” spells.

Source

pub const SPEC_CORE: Self

Source

pub const TALENT_ROW_A: Self

Source

pub const TALENT_ROW_B: Self

Source

pub const MAJOR_COOLDOWNS: Self

Source

pub const HEALING_SPELLS: Self

Source

pub const ROGUE_LETHAL_POISONS: Self

Source

pub const ROGUE_NON_LETHAL_POISONS: Self

Source

pub const PVP: Self

Source

pub const NPC_ABILITIES: Self

Source

pub const LEGENDARY_ITEMS: Self

Source

pub const ARTIFACT_TRAITS: Self

Source

pub const ARTIFACT_PASSIVES: Self

Source

pub const LEGENDARY_EFFECTS: Self

Source

pub const AZERITE_ESSENCES: Self

Source

pub const SHADOWLANDS_GENERAL: Self

Source

pub const SHADOWLANDS_COMBAT: Self

Source

pub const CONDUITS: Self

Source

pub const COVENANT: Self

Source

pub const DRAGON_RACING: Self

Source

pub const DRAGONFLIGHT_CRAFTED_GEAR: Self

Source

pub const PRIMORDIAL_STONE: Self

Source

pub const SINGING_CITRINE: Self

Source

pub const BRANN_DELVES: Self

Source

pub const HERO_TALENTS: Self

Source

pub const ITEM_EFFECTS: Self

Source

pub const FURNITURE_CRAFTS: Self

Source

pub const BLACKSMITHING: Self

Source

pub const LEATHERWORKING: Self

Source

pub const TAILORING: Self

Source

pub const SKINNING: Self

Source

pub const ALCHEMY: Self

Source

pub const JEWELCRAFTING: Self

Source

pub const ALL_PROFESSIONS: Self

Source

pub const COOKING: Self

Source

pub const MODIFIED_CRAFTING_REAGENTS: Self

Source

pub const ENCHANTING: Self

Source

pub const INSCRIPTION: Self

Source

pub const ALL_CRAFTED: Self

Source

pub const ENGINEERING: Self

Source

pub const MINING: Self

Source

pub const HERBALISM: Self

Source

pub const PROF_CLASSIC: Self

Source

pub const PROF_TBC: Self

Source

pub const PROF_WOTLK: Self

Source

pub const PROF_CATA: Self

Source

pub const PROF_MOP: Self

Source

pub const PROF_WOD: Self

Source

pub const PROF_LEGION: Self

Source

pub const PROF_BFA: Self

Source

pub const PROF_DF: Self

Source

pub const KNOWN: &'static [(Self, &'static str)]

Source

pub fn known() -> impl Iterator<Item = (Self, &'static str)> + 'static

Source

pub fn is_known(self) -> bool

Source

pub fn name(self) -> Option<&'static str>

Trait Implementations§

Source§

impl Clone for SpellLabel

Source§

fn clone(&self) -> SpellLabel

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 SpellLabel

Source§

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

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

impl Default for SpellLabel

Source§

fn default() -> SpellLabel

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

impl<'de> Deserialize<'de> for SpellLabel

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 SpellLabel

Source§

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

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

impl From<SpellLabel> for i32

Source§

fn from(label: SpellLabel) -> Self

Converts to this type from the input type.
Source§

impl From<i32> for SpellLabel

Source§

fn from(value: i32) -> Self

Converts to this type from the input type.
Source§

impl Hash for SpellLabel

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 JsonSchema for SpellLabel

Source§

fn schema_name() -> Cow<'static, str>

The name of the generated JSON Schema. Read more
Source§

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

Generates a JSON Schema for this type. Read more
Source§

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 more
Source§

impl Ord for SpellLabel

Source§

fn cmp(&self, other: &SpellLabel) -> 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 SpellLabel

Source§

fn eq(&self, other: &SpellLabel) -> 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 SpellLabel

Source§

fn partial_cmp(&self, other: &SpellLabel) -> 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 SpellLabel

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 Copy for SpellLabel

Source§

impl Eq for SpellLabel

Source§

impl StructuralPartialEq for SpellLabel

Auto Trait Implementations§

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> DynClone for T
where T: Clone,

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.

§

impl<T> ToCompactString for T
where T: Display,

§

fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>

Fallible version of [ToCompactString::to_compact_string()] Read more
§

fn to_compact_string(&self) -> CompactString

Converts the given value to a [CompactString]. Read more
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<S, T> Upcast<T> for S
where T: UpcastFrom<S> + ?Sized, S: ?Sized,

Source§

fn upcast(&self) -> &T
where Self: ErasableGeneric, T: ErasableGeneric<Repr = Self::Repr>,

Perform a zero-cost type-safe upcast to a wider ref type within the Wasm bindgen generics type system. Read more
Source§

fn upcast_into(self) -> T
where Self: Sized + ErasableGeneric, T: ErasableGeneric<Repr = Self::Repr>,

Perform a zero-cost type-safe upcast to a wider type within the Wasm bindgen generics type system. Read more
Source§

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