Struct AttributesEx1

Source
pub struct AttributesEx1 { /* private fields */ }
Available on crate feature vanilla only.
Expand description

This type is not sent over the network, but is used in the game in another way.

Auto generated from the original wowm in file wow_message_parser/wowm/world/external/external_spell_1_12.wowm:42:

flag AttributesEx1 : u32 {
    NONE = 0x00;
    DISMISS_PET_FIRST = 0x00000001;
    USE_ALL_MANA = 0x00000002;
    IS_CHANNELED = 0x00000004;
    NO_REDIRECTION = 0x00000008;
    NO_SKILL_INCREASE = 0x00000010;
    ALLOW_WHILE_STEALTHED = 0x00000020;
    IS_SELF_CHANNELED = 0x00000040;
    NO_REFLECTION = 0x00000080;
    ONLY_PEACEFUL_TARGETS = 0x00000100;
    INITIATES_COMBAT_ENABLES_AUTO_ATTACK = 0x00000200;
    NO_THREAT = 0x00000400;
    AURA_UNIQUE = 0x00000800;
    FAILURE_BREAKS_STEALTH = 0x00001000;
    TOGGLE_FARSIGHT = 0x00002000;
    TRACK_TARGET_IN_CHANNEL = 0x00004000;
    IMMUNITY_PURGES_EFFECT = 0x00008000;
    IMMUNITY_TO_HOSTILE_AND_FRIENDLY_EFFECTS = 0x00010000;
    NO_AUTOCAST_AI = 0x00020000;
    PREVENTS_ANIM = 0x00040000;
    EXCLUDE_CASTER = 0x00080000;
    FINISHING_MOVE_DAMAGE = 0x00100000;
    THREAT_ONLY_ON_MISS = 0x00200000;
    FINISHING_MOVE_DURATION = 0x00400000;
    UNK23 = 0x00800000;
    SPECIAL_SKILLUP = 0x01000000;
    AURA_STAYS_AFTER_COMBAT = 0x02000000;
    REQUIRE_ALL_TARGETS = 0x04000000;
    DISCOUNT_POWER_ON_MISS = 0x08000000;
    NO_AURA_ICON = 0x10000000;
    NAME_IN_CHANNEL_BAR = 0x20000000;
    COMBO_ON_BLOCK = 0x40000000;
    CAST_WHEN_LEARNED = 0x80000000;
}

Implementations§

Source§

impl AttributesEx1

Source

pub fn as_test_case_value(&self) -> String

Available on crate feature print-testcase only.
Source§

impl AttributesEx1

Source

pub const NONE: u32 = 0u32

Source

pub const DISMISS_PET_FIRST: u32 = 1u32

Source

pub const USE_ALL_MANA: u32 = 2u32

Source

pub const IS_CHANNELED: u32 = 4u32

Source

pub const NO_REDIRECTION: u32 = 8u32

Source

pub const NO_SKILL_INCREASE: u32 = 16u32

Source

pub const ALLOW_WHILE_STEALTHED: u32 = 32u32

Source

pub const IS_SELF_CHANNELED: u32 = 64u32

Source

pub const NO_REFLECTION: u32 = 128u32

Source

pub const ONLY_PEACEFUL_TARGETS: u32 = 256u32

Source

pub const INITIATES_COMBAT_ENABLES_AUTO_ATTACK: u32 = 512u32

Source

pub const NO_THREAT: u32 = 1_024u32

Source

pub const AURA_UNIQUE: u32 = 2_048u32

Source

pub const FAILURE_BREAKS_STEALTH: u32 = 4_096u32

Source

pub const TOGGLE_FARSIGHT: u32 = 8_192u32

Source

pub const TRACK_TARGET_IN_CHANNEL: u32 = 16_384u32

Source

pub const IMMUNITY_PURGES_EFFECT: u32 = 32_768u32

Source

pub const IMMUNITY_TO_HOSTILE_AND_FRIENDLY_EFFECTS: u32 = 65_536u32

Source

pub const NO_AUTOCAST_AI: u32 = 131_072u32

Source

pub const PREVENTS_ANIM: u32 = 262_144u32

Source

pub const EXCLUDE_CASTER: u32 = 524_288u32

Source

pub const FINISHING_MOVE_DAMAGE: u32 = 1_048_576u32

Source

pub const THREAT_ONLY_ON_MISS: u32 = 2_097_152u32

Source

pub const FINISHING_MOVE_DURATION: u32 = 4_194_304u32

Source

pub const UNK23: u32 = 8_388_608u32

Source

pub const SPECIAL_SKILLUP: u32 = 16_777_216u32

Source

pub const AURA_STAYS_AFTER_COMBAT: u32 = 33_554_432u32

Source

pub const REQUIRE_ALL_TARGETS: u32 = 67_108_864u32

Source

pub const DISCOUNT_POWER_ON_MISS: u32 = 134_217_728u32

Source

pub const NO_AURA_ICON: u32 = 268_435_456u32

Source

pub const NAME_IN_CHANNEL_BAR: u32 = 536_870_912u32

Source

pub const COMBO_ON_BLOCK: u32 = 1_073_741_824u32

Source

pub const CAST_WHEN_LEARNED: u32 = 2_147_483_648u32

Source

pub const fn new(inner: u32) -> Self

Source

pub const fn empty() -> Self

Source

pub const fn is_empty(&self) -> bool

Source

pub const fn all() -> Self

Source

pub const fn is_dismiss_pet_first(&self) -> bool

Source

pub const fn new_dismiss_pet_first() -> Self

Source

pub fn set_dismiss_pet_first(&mut self) -> Self

Source

pub fn clear_dismiss_pet_first(&mut self) -> Self

Source

pub const fn is_use_all_mana(&self) -> bool

Source

pub const fn new_use_all_mana() -> Self

Source

pub fn set_use_all_mana(&mut self) -> Self

Source

pub fn clear_use_all_mana(&mut self) -> Self

Source

pub const fn is_is_channeled(&self) -> bool

Source

pub const fn new_is_channeled() -> Self

Source

pub fn set_is_channeled(&mut self) -> Self

Source

pub fn clear_is_channeled(&mut self) -> Self

Source

pub const fn is_no_redirection(&self) -> bool

Source

pub const fn new_no_redirection() -> Self

Source

pub fn set_no_redirection(&mut self) -> Self

Source

pub fn clear_no_redirection(&mut self) -> Self

Source

pub const fn is_no_skill_increase(&self) -> bool

Source

pub const fn new_no_skill_increase() -> Self

Source

pub fn set_no_skill_increase(&mut self) -> Self

Source

pub fn clear_no_skill_increase(&mut self) -> Self

Source

pub const fn is_allow_while_stealthed(&self) -> bool

Source

pub const fn new_allow_while_stealthed() -> Self

Source

pub fn set_allow_while_stealthed(&mut self) -> Self

Source

pub fn clear_allow_while_stealthed(&mut self) -> Self

Source

pub const fn is_is_self_channeled(&self) -> bool

Source

pub const fn new_is_self_channeled() -> Self

Source

pub fn set_is_self_channeled(&mut self) -> Self

Source

pub fn clear_is_self_channeled(&mut self) -> Self

Source

pub const fn is_no_reflection(&self) -> bool

Source

pub const fn new_no_reflection() -> Self

Source

pub fn set_no_reflection(&mut self) -> Self

Source

pub fn clear_no_reflection(&mut self) -> Self

Source

pub const fn is_only_peaceful_targets(&self) -> bool

Source

pub const fn new_only_peaceful_targets() -> Self

Source

pub fn set_only_peaceful_targets(&mut self) -> Self

Source

pub fn clear_only_peaceful_targets(&mut self) -> Self

Source

pub const fn is_initiates_combat_enables_auto_attack(&self) -> bool

Source

pub const fn new_initiates_combat_enables_auto_attack() -> Self

Source

pub fn set_initiates_combat_enables_auto_attack(&mut self) -> Self

Source

pub fn clear_initiates_combat_enables_auto_attack(&mut self) -> Self

Source

pub const fn is_no_threat(&self) -> bool

Source

pub const fn new_no_threat() -> Self

Source

pub fn set_no_threat(&mut self) -> Self

Source

pub fn clear_no_threat(&mut self) -> Self

Source

pub const fn is_aura_unique(&self) -> bool

Source

pub const fn new_aura_unique() -> Self

Source

pub fn set_aura_unique(&mut self) -> Self

Source

pub fn clear_aura_unique(&mut self) -> Self

Source

pub const fn is_failure_breaks_stealth(&self) -> bool

Source

pub const fn new_failure_breaks_stealth() -> Self

Source

pub fn set_failure_breaks_stealth(&mut self) -> Self

Source

pub fn clear_failure_breaks_stealth(&mut self) -> Self

Source

pub const fn is_toggle_farsight(&self) -> bool

Source

pub const fn new_toggle_farsight() -> Self

Source

pub fn set_toggle_farsight(&mut self) -> Self

Source

pub fn clear_toggle_farsight(&mut self) -> Self

Source

pub const fn is_track_target_in_channel(&self) -> bool

Source

pub const fn new_track_target_in_channel() -> Self

Source

pub fn set_track_target_in_channel(&mut self) -> Self

Source

pub fn clear_track_target_in_channel(&mut self) -> Self

Source

pub const fn is_immunity_purges_effect(&self) -> bool

Source

pub const fn new_immunity_purges_effect() -> Self

Source

pub fn set_immunity_purges_effect(&mut self) -> Self

Source

pub fn clear_immunity_purges_effect(&mut self) -> Self

Source

pub const fn is_immunity_to_hostile_and_friendly_effects(&self) -> bool

Source

pub const fn new_immunity_to_hostile_and_friendly_effects() -> Self

Source

pub fn set_immunity_to_hostile_and_friendly_effects(&mut self) -> Self

Source

pub fn clear_immunity_to_hostile_and_friendly_effects(&mut self) -> Self

Source

pub const fn is_no_autocast_ai(&self) -> bool

Source

pub const fn new_no_autocast_ai() -> Self

Source

pub fn set_no_autocast_ai(&mut self) -> Self

Source

pub fn clear_no_autocast_ai(&mut self) -> Self

Source

pub const fn is_prevents_anim(&self) -> bool

Source

pub const fn new_prevents_anim() -> Self

Source

pub fn set_prevents_anim(&mut self) -> Self

Source

pub fn clear_prevents_anim(&mut self) -> Self

Source

pub const fn is_exclude_caster(&self) -> bool

Source

pub const fn new_exclude_caster() -> Self

Source

pub fn set_exclude_caster(&mut self) -> Self

Source

pub fn clear_exclude_caster(&mut self) -> Self

Source

pub const fn is_finishing_move_damage(&self) -> bool

Source

pub const fn new_finishing_move_damage() -> Self

Source

pub fn set_finishing_move_damage(&mut self) -> Self

Source

pub fn clear_finishing_move_damage(&mut self) -> Self

Source

pub const fn is_threat_only_on_miss(&self) -> bool

Source

pub const fn new_threat_only_on_miss() -> Self

Source

pub fn set_threat_only_on_miss(&mut self) -> Self

Source

pub fn clear_threat_only_on_miss(&mut self) -> Self

Source

pub const fn is_finishing_move_duration(&self) -> bool

Source

pub const fn new_finishing_move_duration() -> Self

Source

pub fn set_finishing_move_duration(&mut self) -> Self

Source

pub fn clear_finishing_move_duration(&mut self) -> Self

Source

pub const fn is_unk23(&self) -> bool

Source

pub const fn new_unk23() -> Self

Source

pub fn set_unk23(&mut self) -> Self

Source

pub fn clear_unk23(&mut self) -> Self

Source

pub const fn is_special_skillup(&self) -> bool

Source

pub const fn new_special_skillup() -> Self

Source

pub fn set_special_skillup(&mut self) -> Self

Source

pub fn clear_special_skillup(&mut self) -> Self

Source

pub const fn is_aura_stays_after_combat(&self) -> bool

Source

pub const fn new_aura_stays_after_combat() -> Self

Source

pub fn set_aura_stays_after_combat(&mut self) -> Self

Source

pub fn clear_aura_stays_after_combat(&mut self) -> Self

Source

pub const fn is_require_all_targets(&self) -> bool

Source

pub const fn new_require_all_targets() -> Self

Source

pub fn set_require_all_targets(&mut self) -> Self

Source

pub fn clear_require_all_targets(&mut self) -> Self

Source

pub const fn is_discount_power_on_miss(&self) -> bool

Source

pub const fn new_discount_power_on_miss() -> Self

Source

pub fn set_discount_power_on_miss(&mut self) -> Self

Source

pub fn clear_discount_power_on_miss(&mut self) -> Self

Source

pub const fn is_no_aura_icon(&self) -> bool

Source

pub const fn new_no_aura_icon() -> Self

Source

pub fn set_no_aura_icon(&mut self) -> Self

Source

pub fn clear_no_aura_icon(&mut self) -> Self

Source

pub const fn is_name_in_channel_bar(&self) -> bool

Source

pub const fn new_name_in_channel_bar() -> Self

Source

pub fn set_name_in_channel_bar(&mut self) -> Self

Source

pub fn clear_name_in_channel_bar(&mut self) -> Self

Source

pub const fn is_combo_on_block(&self) -> bool

Source

pub const fn new_combo_on_block() -> Self

Source

pub fn set_combo_on_block(&mut self) -> Self

Source

pub fn clear_combo_on_block(&mut self) -> Self

Source

pub const fn is_cast_when_learned(&self) -> bool

Source

pub const fn new_cast_when_learned() -> Self

Source

pub fn set_cast_when_learned(&mut self) -> Self

Source

pub fn clear_cast_when_learned(&mut self) -> Self

Source

pub const fn as_int(&self) -> u32

Trait Implementations§

Source§

impl Binary for AttributesEx1

Source§

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

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

impl BitAnd for AttributesEx1

Source§

type Output = AttributesEx1

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: Self) -> Self::Output

Performs the & operation. Read more
Source§

impl BitAndAssign for AttributesEx1

Source§

fn bitand_assign(&mut self, rhs: Self)

Performs the &= operation. Read more
Source§

impl BitOr for AttributesEx1

Source§

type Output = AttributesEx1

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: Self) -> Self::Output

Performs the | operation. Read more
Source§

impl BitOrAssign for AttributesEx1

Source§

fn bitor_assign(&mut self, rhs: Self)

Performs the |= operation. Read more
Source§

impl BitXor for AttributesEx1

Source§

type Output = AttributesEx1

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: Self) -> Self::Output

Performs the ^ operation. Read more
Source§

impl BitXorAssign for AttributesEx1

Source§

fn bitxor_assign(&mut self, rhs: Self)

Performs the ^= operation. Read more
Source§

impl Clone for AttributesEx1

Source§

fn clone(&self) -> AttributesEx1

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 AttributesEx1

Source§

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

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

impl Default for AttributesEx1

Source§

fn default() -> AttributesEx1

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

impl<'de> Deserialize<'de> for AttributesEx1

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 From<i32> for AttributesEx1

Source§

fn from(value: i32) -> Self

Converts to this type from the input type.
Source§

impl From<u16> for AttributesEx1

Source§

fn from(value: u16) -> Self

Converts to this type from the input type.
Source§

impl From<u32> for AttributesEx1

Source§

fn from(value: u32) -> Self

Converts to this type from the input type.
Source§

impl From<u8> for AttributesEx1

Source§

fn from(value: u8) -> Self

Converts to this type from the input type.
Source§

impl Hash for AttributesEx1

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 LowerHex for AttributesEx1

Source§

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

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

impl Octal for AttributesEx1

Source§

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

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

impl Ord for AttributesEx1

Source§

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

Source§

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

Source§

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

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 AttributesEx1

Source§

type Error = i16

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<i64> for AttributesEx1

Source§

type Error = i64

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 AttributesEx1

Source§

type Error = i8

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<u64> for AttributesEx1

Source§

type Error = u64

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<usize> for AttributesEx1

Source§

type Error = usize

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 UpperHex for AttributesEx1

Source§

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

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

impl Copy for AttributesEx1

Source§

impl Eq for AttributesEx1

Source§

impl StructuralPartialEq for AttributesEx1

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> 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, 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>,