#[non_exhaustive]pub enum PreparedRotationChangeKey {
SpellCooldownReady(SpellIdx),
ResourceThreshold {
resource: ResourceType,
value_bits: u64,
strict: bool,
},
CooldownRemainingThreshold {
spell: SpellIdx,
seconds_bits: u64,
strict: bool,
},
AuraState,
TargetHealthThreshold {
percent_bits: u64,
strict: bool,
},
AuraRemainingThreshold {
aura: AuraIdx,
on: AuraOn,
seconds_bits: u64,
strict: bool,
},
Spatial,
EncounterPopulation,
SpellState,
EquipmentState,
HistoryState,
}Expand description
Runtime field whose mutation can make a prepared cast action selectable.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SpellCooldownReady(SpellIdx)
The ready state of one resolved spell cooldown.
ResourceThreshold
One exact current-resource threshold observed by the rotation.
CooldownRemainingThreshold
One exact spell-cooldown remaining-time threshold observed by the rotation.
AuraState
Aura presence or stack state observed by the rotation.
TargetHealthThreshold
One exact current-target health-percent threshold observed by the rotation.
AuraRemainingThreshold
One exact aura-remaining threshold observed by the rotation.
Spatial
Target distance underlying spatial eligibility observed by the rotation.
EncounterPopulation
Current encounter population observed by the rotation.
SpellState
Spell lifecycle state observed by the rotation.
EquipmentState
Persistent equipped-item state observed by the rotation.
HistoryState
Previous player-cast history observed by the rotation.
Trait Implementations§
Source§impl Clone for PreparedRotationChangeKey
impl Clone for PreparedRotationChangeKey
Source§fn clone(&self) -> PreparedRotationChangeKey
fn clone(&self) -> PreparedRotationChangeKey
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 PreparedRotationChangeKey
impl Debug for PreparedRotationChangeKey
Source§impl Hash for PreparedRotationChangeKey
impl Hash for PreparedRotationChangeKey
impl Copy for PreparedRotationChangeKey
impl Eq for PreparedRotationChangeKey
impl StructuralPartialEq for PreparedRotationChangeKey
Auto Trait Implementations§
impl Freeze for PreparedRotationChangeKey
impl RefUnwindSafe for PreparedRotationChangeKey
impl Send for PreparedRotationChangeKey
impl Sync for PreparedRotationChangeKey
impl Unpin for PreparedRotationChangeKey
impl UnsafeUnpin for PreparedRotationChangeKey
impl UnwindSafe for PreparedRotationChangeKey
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