pub struct DispatchPlan {
pub waves: Vec<Wave>,
pub skipped: Vec<BlockedUnit>,
pub warnings: Vec<(String, ScopeWarning)>,
pub all_units: Vec<SizedUnit>,
pub index: Index,
}Expand description
Result from planning dispatch.
Fields§
§waves: Vec<Wave>§skipped: Vec<BlockedUnit>§warnings: Vec<(String, ScopeWarning)>Scope warnings for units that will dispatch but have large scope.
all_units: Vec<SizedUnit>Flat list of all units to dispatch (for ready-queue mode).
index: IndexThe index snapshot used for planning.
Auto Trait Implementations§
impl Freeze for DispatchPlan
impl RefUnwindSafe for DispatchPlan
impl Send for DispatchPlan
impl Sync for DispatchPlan
impl Unpin for DispatchPlan
impl UnsafeUnpin for DispatchPlan
impl UnwindSafe for DispatchPlan
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> 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