pub enum WaveStatus {
Active(AdmissionPreview),
AwaitingClear {
alive: usize,
},
Resting {
remaining: f64,
},
Finished,
}Expand description
Current scheduling phase, as reported by WaveSequence::preview.
Variants§
Active(AdmissionPreview)
Credits remain. The director explains admission for the requested cost and alive count, including any cooldown or pressure-recovery countdown.
AwaitingClear
All credits were spent. The next WaveSequence::advance with no live
actors emits the clear event; observing zero actors does not emit it.
Resting
The current wave has cleared; its successor starts on an advance after this rest elapses. Even a zero rest requires a subsequent advance.
Fields
Finished
The last wave has cleared; no further spawns or rewards are scheduled.
Trait Implementations§
Source§impl Clone for WaveStatus
impl Clone for WaveStatus
Source§fn clone(&self) -> WaveStatus
fn clone(&self) -> WaveStatus
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 WaveStatus
impl Debug for WaveStatus
Source§impl PartialEq for WaveStatus
impl PartialEq for WaveStatus
impl Copy for WaveStatus
impl StructuralPartialEq for WaveStatus
Auto Trait Implementations§
impl Freeze for WaveStatus
impl RefUnwindSafe for WaveStatus
impl Send for WaveStatus
impl Sync for WaveStatus
impl Unpin for WaveStatus
impl UnwindSafe for WaveStatus
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