pub struct Wait {
pub waiter: TimePoint,
pub contingent: TimePoint,
pub delay: Ticks,
}Expand description
A wait: waiter must not execute before activation(contingent) + delay, unless
contingent has been observed first.
Waits are the upper-case edges of an extended STNU (Morris, Muscettola and Vidal 2001).
Fields§
§waiter: TimePointThe executable point that waits.
contingent: TimePointThe contingent point being waited for.
delay: TicksWait length after the contingent point’s activation.
Trait Implementations§
impl Copy for Wait
impl Eq for Wait
impl StructuralPartialEq for Wait
Auto Trait Implementations§
impl Forget for Wait
impl Freeze for Wait
impl Move for Wait
impl RefUnwindSafe for Wait
impl Send for Wait
impl Sync for Wait
impl Unpin for Wait
impl UnsafeUnpin for Wait
impl UnwindSafe for Wait
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