pub struct ChipPlan {
pub parts: Vec<(Share, Option<Plan>)>,
pub guaranteed: Vec<Share>,
pub total: Cost,
pub delivered: Delivered,
}Expand description
The planned chip.
Fields§
§parts: Vec<(Share, Option<Plan>)>Share and plan of each slot, in order (None: off or nothing fits).
The share is what the module was finally planned in: its guaranteed
share plus anything it borrowed (plan_chip).
guaranteed: Vec<Share>Each slot’s guaranteed share (shares).
total: CostEverything together.
delivered: DeliveredDelivered rates.
Trait Implementations§
impl StructuralPartialEq for ChipPlan
Auto Trait Implementations§
impl Freeze for ChipPlan
impl RefUnwindSafe for ChipPlan
impl Send for ChipPlan
impl Sync for ChipPlan
impl Unpin for ChipPlan
impl UnsafeUnpin for ChipPlan
impl UnwindSafe for ChipPlan
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,
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