pub struct LaunchEntry<'a> {
pub krate: &'a Path,
pub vis: &'a Visibility,
pub root: &'a Ident,
pub nodes: &'a [Type],
pub mounts: &'a [Ident],
pub resources: &'a [ResourceField],
pub fused: &'a [FusedMember],
pub origins: &'a [OriginMount],
}Expand description
One ingraph root’s launch entry, ready to emit.
It borrows for OptionsSpine’s reason: what it needs is the list
the root model already holds, and a second copy of that list is a second thing to keep in step.
Fields§
§krate: &'a PathWhere ingraph lives, as the declaration named it.
vis: &'a VisibilityThe root’s own visibility — what the entry and the node bag take.
root: &'a IdentThe root type, whose name both emitted names derive from.
nodes: &'a [Type]The NODES, in declaration order.
mounts: &'a [Ident]The mount NAMES beside them, in that same order — the sections’ keys, and the names a refusal reports a node under.
resources: &'a [ResourceField]The RESOURCES, in declaration order — the create walk’s FIRST step.
fused: &'a [FusedMember]The SLOT-BEARING members, in declaration order — LAYER TWO’s list and the sole-default law’s.
A fused member is a retrieving declaration, so it is the tier that owns corpora: what the
launch reads off each one is Habitats::make (the homes it makes, in the targets its own legs
name), Habitats::TARGETS (those same targets as demands, which is what mounts them) and
Habitats::UNBOUND (the corpora whose legs named nothing, which the deployment’s catalog
binds). Empty is the ordinary state of a graph that retrieves nothing, and it is what makes all
three emissions disappear rather than emit a loop over no members.
origins: &'a [OriginMount]The ORIGINS, in declaration order — the tier whose members are HEADS the graph does not feed.
Five lines apiece and no more, which is what an origin’s whole shape costs: declared onto the
blueprint through Blueprint::origin (a head, whose effect is pure), built from its own
section by the same Creation::node a node goes through, its ONE out-edge opened from the
producer’s end by Wiring::bridge, enrolled, and put on an engine by Ignition::origin_kept
with that edge as its FEED.
Empty is the ordinary state, and it is what makes every line of this tier disappear.
Implementations§
Source§impl LaunchEntry<'_>
impl LaunchEntry<'_>
Sourcepub fn emit(&self) -> TokenStream
pub fn emit(&self) -> TokenStream
The node bag and the entry that fills it.