Skip to main content

LayoutStrategy

Type Alias LayoutStrategy 

Source
pub type LayoutStrategy = LayoutStyle;

Aliased Type§

pub enum LayoutStrategy {
    Auto,
    Passthrough,
    Section,
    Nested,
    Binding,
    SectionBinding,
    SectionRootBinding,
}

Variants§

§

Auto

Automatically determine the best representation.

§

Passthrough

Pass through; emit children at the current level with the path prefix.

§

Section

Create a new section (@ a.b.c).

§

Nested

Create a nested section (@ a.b.c { ... }).

§

Binding

Bind value (a.b.c = value).

§

SectionBinding

Bind a block (a.b.c { ... }).

§

SectionRootBinding

Section with root value binding (@ a.b.c = value).