pub struct Loop {
pub init: Vec<IId>,
pub cond: IId,
pub next: Vec<IId>,
pub parent: Option<u32>,
pub cap: Option<u32>,
}Expand description
A structured while loop: s = init; while cond(s) { s = next(s) }.
Fields§
§init: Vec<IId>Initial states (in the enclosing scope).
cond: IIdCondition, checked before each iteration.
next: Vec<IId>Next states.
parent: Option<u32>Enclosing loop, if nested.
cap: Option<u32>Trip cap: when set, the loop also exits after this many iterations (every backend counts the same way). Untrusted graphs always carry one.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Loop
impl RefUnwindSafe for Loop
impl Send for Loop
impl Sync for Loop
impl Unpin for Loop
impl UnsafeUnpin for Loop
impl UnwindSafe for Loop
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