pub(super) struct AuraTotalsRevisions {
player: u64,
external: u64,
pets: Box<[u64]>,
enemies: Box<[u64]>,
buff_cache_generation: u64,
player_scaling: u64,
}Fields§
§player: u64§external: u64§pets: Box<[u64]>§enemies: Box<[u64]>§buff_cache_generation: u64§player_scaling: u64Implementations§
Source§impl AuraTotalsRevisions
impl AuraTotalsRevisions
pub(super) fn new(enemy_count: usize) -> Self
fn get(&self, actor: ActorId) -> Option<u64>
fn get_mut(&mut self, actor: ActorId) -> Option<&mut u64>
fn bump(&mut self, actor: ActorId) -> bool
fn invalidate_all_buff_caches(&mut self)
fn bump_player_scaling(&mut self) -> bool
fn reset(&mut self)
fn reset_actor(&mut self, actor: ActorId)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AuraTotalsRevisions
impl RefUnwindSafe for AuraTotalsRevisions
impl Send for AuraTotalsRevisions
impl Sync for AuraTotalsRevisions
impl Unpin for AuraTotalsRevisions
impl UnsafeUnpin for AuraTotalsRevisions
impl UnwindSafe for AuraTotalsRevisions
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