pub struct ParBlock {
pub branches: Vec<Vec<FlowStep>>,
pub loc: Loc,
}Fields§
§branches: Vec<Vec<FlowStep>>§Fase 65 — the concurrent branches. Each top-level statement inside
par { … } is one branch (a single-statement body); they execute
concurrently at runtime. Empty for a par {} with no statements
(degenerate no-op). Before §65 this was payload-free (the branches were
skipped at parse time), so par ran as a stub.
loc: LocTrait Implementations§
Auto Trait Implementations§
impl Freeze for ParBlock
impl RefUnwindSafe for ParBlock
impl Send for ParBlock
impl Sync for ParBlock
impl Unpin for ParBlock
impl UnsafeUnpin for ParBlock
impl UnwindSafe for ParBlock
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moreCreates a shared type from an unshared type.