Skip to main content

ArrayBindingStyle

Type Alias ArrayBindingStyle 

Source
pub type ArrayBindingStyle = ArrayForm;
Expand description

How to represent array-valued fields.

Mirrors eure_document::plan::ArrayForm: orthogonal to BindingStyle; describes whether array elements are emitted inline, per-element with push ([]) markers, or per-element with explicit indices ([i]).

Aliased Type§

pub enum ArrayBindingStyle {
    Inline,
    PerElement(Form),
    PerElementIndexed(Form),
}

Variants§

§

Inline

Single inline binding: path = [e1, e2, ...].

§

PerElement(Form)

Per-element emission with [] (push marker). Each element uses the given element [Form].

§

PerElementIndexed(Form)

Per-element emission with explicit [i] indices.