pub struct PendingJoinFrame {
pub kind: PendingJoinKind,
pub narrow_depth: usize,
pub breaks: Vec<(NarrowEnv, BTreeSet<ReferencePath>)>,
pub continues: Vec<(NarrowEnv, BTreeSet<ReferencePath>)>,
}Expand description
Pushed on loop/switch entry, popped on exit; collects break and continue narrow-state snapshots.
Fields§
§kind: PendingJoinKind§narrow_depth: usizenarrow_scopes.len() at the moment the construct was
entered, before the construct’s body frame is pushed.
Snapshots taken at break/continue time use this as the
inclusive base — every frame at index >= narrow_depth
was pushed inside the construct and is folded into the
snapshot’s narrow env (innermost wins on lookup).
breaks: Vec<(NarrowEnv, BTreeSet<ReferencePath>)>§continues: Vec<(NarrowEnv, BTreeSet<ReferencePath>)>Trait Implementations§
Auto Trait Implementations§
impl Freeze for PendingJoinFrame
impl RefUnwindSafe for PendingJoinFrame
impl Send for PendingJoinFrame
impl Sync for PendingJoinFrame
impl Unpin for PendingJoinFrame
impl UnsafeUnpin for PendingJoinFrame
impl UnwindSafe for PendingJoinFrame
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