pub(crate) struct AuraEffectMasks {
general_totals: u16,
dynamic_totals: u16,
spell_modifiers: u16,
costs: u16,
timing: u16,
targeting: u16,
gates: u16,
recharge_charges: u16,
stats: u16,
speed_projection: u16,
snapshot_totals: u16,
player_scaling: u16,
}Expand description
Positional effect masks for one finalized aura’s fixed effect array.
Fields§
§general_totals: u16§dynamic_totals: u16§spell_modifiers: u16§costs: u16§timing: u16§targeting: u16§gates: u16§recharge_charges: u16§stats: u16§speed_projection: u16§snapshot_totals: u16§player_scaling: u16Implementations§
Source§impl AuraEffectMasks
impl AuraEffectMasks
pub(crate) const fn totals_relevant(self) -> bool
pub(crate) const fn snapshot_totals_relevant(self) -> bool
pub(crate) const fn player_scaling_relevant(self) -> bool
fn insert(&mut self, position: usize, consumers: EffectConsumer)
fn insert_player_scaling(&mut self, position: usize, effect: &BuffEffect)
const fn mask_for_build(self, class: EffectConsumerClass) -> u16
Trait Implementations§
Source§impl Clone for AuraEffectMasks
impl Clone for AuraEffectMasks
Source§fn clone(&self) -> AuraEffectMasks
fn clone(&self) -> AuraEffectMasks
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 AuraEffectMasks
impl Debug for AuraEffectMasks
Source§impl Default for AuraEffectMasks
impl Default for AuraEffectMasks
Source§fn default() -> AuraEffectMasks
fn default() -> AuraEffectMasks
Returns the “default value” for a type. Read more
Source§impl PartialEq for AuraEffectMasks
impl PartialEq for AuraEffectMasks
impl Copy for AuraEffectMasks
impl Eq for AuraEffectMasks
impl StructuralPartialEq for AuraEffectMasks
Auto Trait Implementations§
impl Freeze for AuraEffectMasks
impl RefUnwindSafe for AuraEffectMasks
impl Send for AuraEffectMasks
impl Sync for AuraEffectMasks
impl Unpin for AuraEffectMasks
impl UnsafeUnpin for AuraEffectMasks
impl UnwindSafe for AuraEffectMasks
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