pub struct SpellRequirements {Show 21 fields
pub shapeshift_required_mask: u64,
pub shapeshift_excluded_mask: u64,
pub caster_aura_spell: i32,
pub caster_aura_state: Option<AuraState>,
pub exclude_caster_aura_spell: i32,
pub exclude_caster_aura_state: Option<AuraState>,
pub target_aura_spell: i32,
pub target_aura_state: Option<AuraState>,
pub exclude_target_aura_spell: i32,
pub exclude_target_aura_state: Option<AuraState>,
pub equipped_item_requirement: Option<EquippedItemRequirement>,
pub gating_aura_id: u32,
pub gating_aura_min_stacks: u8,
pub cost_bypass_aura_id: u32,
pub consume_aura_on_cast_id: u32,
pub cooldown_bypass_aura_id: u32,
pub execute_below_pct: f64,
pub instant_cast_aura_id: u32,
pub availability: SpellAvailability,
pub form: SpellFormRequirements,
pub equipment: SpellEquipmentRequirements,
}Expand description
Cast-state, equipment, aura, and execute requirements.
Fields§
§shapeshift_required_mask: u64§shapeshift_excluded_mask: u64§caster_aura_spell: i32§caster_aura_state: Option<AuraState>§exclude_caster_aura_spell: i32§exclude_caster_aura_state: Option<AuraState>§target_aura_spell: i32§target_aura_state: Option<AuraState>§exclude_target_aura_spell: i32§exclude_target_aura_state: Option<AuraState>§equipped_item_requirement: Option<EquippedItemRequirement>§gating_aura_id: u32§gating_aura_min_stacks: u8§cost_bypass_aura_id: u32§consume_aura_on_cast_id: u32§cooldown_bypass_aura_id: u32§execute_below_pct: f64§instant_cast_aura_id: u32§availability: SpellAvailability§form: SpellFormRequirements§equipment: SpellEquipmentRequirementsTrait Implementations§
Source§impl Clone for SpellRequirements
impl Clone for SpellRequirements
Source§fn clone(&self) -> SpellRequirements
fn clone(&self) -> SpellRequirements
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 SpellRequirements
impl Debug for SpellRequirements
impl Copy for SpellRequirements
Auto Trait Implementations§
impl Freeze for SpellRequirements
impl RefUnwindSafe for SpellRequirements
impl Send for SpellRequirements
impl Sync for SpellRequirements
impl Unpin for SpellRequirements
impl UnsafeUnpin for SpellRequirements
impl UnwindSafe for SpellRequirements
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> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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