#[non_exhaustive]pub enum Container {
Impacts,
ChangePoints,
Targets,
Sets,
Requirements,
Timelines,
States,
Contributors,
Scratch,
}Expand description
The containers a timeline, plan or check keeps, named in Error::CapacityExceeded.
With Fixed<N> storage, the per-timeline containers hold N
elements, except ChangePoints, which holds 2 N (every impact
changes the level at most at two ticks). FixedPlan adds its
own capacities for Timelines and States.
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.
Impacts
The impacts of a numeric or state timeline.
ChangePoints
The sorted change points of a numeric timeline.
Targets
The end-state targets of a numeric timeline.
Sets
The sorted sets of a state timeline.
Requirements
The requirements of a state timeline.
Timelines
The numeric timelines of a plan.
States
The state timelines of a plan.
Contributors
The contributor or setter list of a violation explanation.
Scratch
Working memory of a check or search, sized like the impacts of one timeline.
Trait Implementations§
impl Copy for Container
impl Eq for Container
Source§impl Ord for Container
impl Ord for Container
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Container
impl PartialOrd for Container
impl StructuralPartialEq for Container
Auto Trait Implementations§
impl Forget for Container
impl Freeze for Container
impl Move for Container
impl RefUnwindSafe for Container
impl Send for Container
impl Sync for Container
impl Unpin for Container
impl UnsafeUnpin for Container
impl UnwindSafe for Container
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