pub enum SpecAction {
Cast {
spell_id: SpellIdx,
empower_rank: u8,
source: ActorId,
target: EnemyIdx,
},
Wait {
until_ms: SimTime,
},
}Expand description
Action returned by a spec handler during rotation evaluation.
Variants§
Trait Implementations§
Source§impl Clone for SpecAction
impl Clone for SpecAction
Source§fn clone(&self) -> SpecAction
fn clone(&self) -> SpecAction
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 moreAuto Trait Implementations§
impl Freeze for SpecAction
impl RefUnwindSafe for SpecAction
impl Send for SpecAction
impl Sync for SpecAction
impl Unpin for SpecAction
impl UnsafeUnpin for SpecAction
impl UnwindSafe for SpecAction
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