pub(crate) struct SpellUsableArgs {
pub(crate) spell_offset: usize,
pub(crate) resource_current_offset: Option<usize>,
pub(crate) secondary_resource_current_offset: Option<usize>,
pub(crate) cooldown_base: Option<usize>,
pub(crate) gating_aura_offset: Option<usize>,
pub(crate) gating_aura_min_stacks: u8,
pub(crate) cost_bypass_aura_offset: Option<usize>,
pub(crate) cooldown_bypass_aura_offset: Option<usize>,
pub(crate) override_spell_offset: Option<usize>,
pub(crate) override_cooldown_base: Option<usize>,
pub(crate) override_aura_offset: Option<usize>,
}Fields§
§spell_offset: usize§resource_current_offset: Option<usize>§secondary_resource_current_offset: Option<usize>§cooldown_base: Option<usize>§gating_aura_offset: Option<usize>§gating_aura_min_stacks: u8§cost_bypass_aura_offset: Option<usize>§cooldown_bypass_aura_offset: Option<usize>§override_spell_offset: Option<usize>§override_cooldown_base: Option<usize>§override_aura_offset: Option<usize>Implementations§
Source§impl SpellUsableArgs
impl SpellUsableArgs
pub(crate) fn from_offsets(spell_offset: usize, e: &SpellUsableOffsets) -> Self
pub(crate) fn bare(spell_offset: usize) -> Self
Auto Trait Implementations§
impl Freeze for SpellUsableArgs
impl RefUnwindSafe for SpellUsableArgs
impl Send for SpellUsableArgs
impl Sync for SpellUsableArgs
impl Unpin for SpellUsableArgs
impl UnsafeUnpin for SpellUsableArgs
impl UnwindSafe for SpellUsableArgs
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
§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