Skip to main content

LayoutBinding

Struct LayoutBinding 

Source
pub struct LayoutBinding {
Show 14 fields pub nodes: usize, pub edges: usize, pub traversal_edges: usize, pub shortcut_edges: usize, pub one_way_edges: usize, pub gated_edges: usize, pub carry_edges: usize, pub stations: usize, pub gate_stations: usize, pub beats: usize, pub spine_beats: usize, pub path_steps: usize, pub brief_facts: usize, pub plan: PlanBinding,
}
Expand description

What a run’s map-pipeline checks bound to — stages 2, 3 and 4.

Stated on every run whether or not anything was found, because a count only means something when the run that found nothing prints it too (CLAUDE.md). It is one struct with one constructor, so the number the CLI prints, the number the build ledger records and the number a diagnostic quotes cannot disagree.

One ledger for three documents rather than one per document, and that is the point: a site plan’s boxes are counted beside the graph’s places, so a run that embeds five of six places states both numbers on one line and the mismatch is visible without arithmetic.

Fields§

§nodes: usize

Places declared — what DW0816 examines.

§edges: usize

Connections declared.

§traversal_edges: usize

Of those, connections a body passes along.

§shortcut_edges: usize

Of those, connections marked as closing a loop — what DW0820 examines.

§one_way_edges: usize

Connections a body passes one way only — what DW0819 examines.

§gated_edges: usize

Connections that demand something before a body may pass.

§carry_edges: usize

Connections a body is carried over rather than walks (spec-0083 §7) — what DW0934 matches against the campaign’s links.

§stations: usize

Named places inside places — stations declared across the whole graph (spec-0052 §4).

A station no quest references is legal mid-authoring, so this is the denominator rather than a count of what is used, and a zero is stated like every other: a site-plan campaign with no stations names its places at node granularity, which is a fact about that campaign and not a silence.

§gate_stations: usize

Of those, stations declared as a gate — the ones open-gate, close-gate, a shortcut and a timed-gate may address. The remainder are points, which is what every other consumer resolves.

§beats: usize

Quest beats bound to a place.

§spine_beats: usize

Of those, beats on the mandatory quest spine — the number DW0817’s obligation to visit them actually quantifies over.

It is carried separately because beats is not the binding: a graph can declare a dozen beats and still ask DW0817 to check nothing, if none of their quests is one the finale depends on. A zero here is the graph before mission case and is reported as a finding.

§path_steps: usize

Steps of the authored critical path — what DW0817 and DW0822 examine.

§brief_facts: usize

Facts the geometry brief states — what a site plan’s identities bind to.

§plan: PlanBinding

What the site plan offers the stage-4 checks.

Implementations§

Source§

impl LayoutBinding

Source

pub fn of(c: &Campaign) -> LayoutBinding

Count what a campaign’s layout documents offer the checks.

Source

pub fn line(&self) -> String

One line, for stderr and for the round summary.

Source

pub fn plan_line(&self) -> String

The site-plan half, when the campaign carries one.

Trait Implementations§

Source§

impl Clone for LayoutBinding

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for LayoutBinding

Source§

impl Debug for LayoutBinding

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for LayoutBinding

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Eq for LayoutBinding

Source§

impl PartialEq for LayoutBinding

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for LayoutBinding

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for LayoutBinding

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.