pub struct CascadeOutputs<'a> {
pub source: &'a mut String,
pub emitted: &'a mut HashSet<String>,
pub inherited_names: &'a mut Vec<String>,
}Expand description
Per-scope outputs the walker mutates.
Fields§
§source: &'a mut StringPolydat source string the walker appends to.
emitted: &'a mut HashSet<String>Names the walker has emitted, including any pre-emitted
names that flowed in via CascadeInputs::pre_emitted.
Grows across the walk’s six steps.
inherited_names: &'a mut Vec<String>Names whose outputs are inherited from a parent (cascade-
extern’d, not this scope’s own iter-coord). The per-scope
builder threads this into PolydatMatter::inherited_outputs
so compute_own_coordinates excludes them when reporting
this scope’s own iteration position.
Auto Trait Implementations§
impl<'a> !UnwindSafe for CascadeOutputs<'a>
impl<'a> Freeze for CascadeOutputs<'a>
impl<'a> RefUnwindSafe for CascadeOutputs<'a>
impl<'a> Send for CascadeOutputs<'a>
impl<'a> Sync for CascadeOutputs<'a>
impl<'a> Unpin for CascadeOutputs<'a>
impl<'a> UnsafeUnpin for CascadeOutputs<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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 more