Skip to main content

FieldEngines

Struct FieldEngines 

Source
pub struct FieldEngines {
    pub field: Ident,
    pub engines: Vec<Engine>,
    pub fanout: bool,
}
Expand description

ONE elected field’s engines, and whether all of them are live at once.

Fields§

§field: Ident

The field these engines hold — one of the declaration’s own elections.

§engines: Vec<Engine>

The engines, in the order they were WRITTEN.

Order is kept for Persist::backends’ reason: the slots emit in the order the author wrote them, so an expansion is stable and diffable. It may be EMPTY — an election that named no engine is a declaration that has not said where its index lives, which is legal and means the deployment says instead.

§fanout: bool

fanout — ALL declared engines simultaneously live.

§What the marker changes, and what it deliberately does not

Without it the blocks are PORTABILITY: the deployment opens one slot and writes through it, which is the record side’s declare many, build one inherited whole. With it every declared engine’s slot is live at once — the write lane fans to all of them, and the per-engine rankings enter FUSION as separate evidence on the way back.

R2 builds the WRITE half and RECORDS the read half. The read side’s fan-and-fuse is the face round’s to consume, and it is recorded rather than sketched for the reason this crate refuses every other promise: a word parsed into a model nothing spends is a promise rather than a rule. What is spent today is the write, and it is spent completely.

On a field with FEWER THAN TWO engines the marker is a named refusal — there is nothing to fan.

Implementations§

Source§

impl FieldEngines

Source

pub fn participants(&self) -> impl Iterator<Item = &Engine>

The legs that ENTER this field’s fused road — the rrf half of a fanned slot’s declaration.

Read wherever a fanned slot’s mini tier is shaped: the Route seats it carries, the evidence variants a fold can produce, and whether the mini fuse door emits at all. Every leg still WRITES — that half is fanout’s and this word does not touch it.

Source

pub fn slots(&self) -> Vec<Slot>

The SLOTS this field declares — one per engine.

Trait Implementations§

Source§

impl Clone for FieldEngines

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 Debug for FieldEngines

Source§

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

Formats the value using the given formatter. Read more

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> 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.