pub type BindingStyle = LayoutStyle;Expand description
How to represent document paths in formatted output
Spec: lines 263-296
@ $types.binding-style
$variant: union
variants { auto, passthrough, section, nested, binding, section-binding, section-root-binding }Aliased Type§
pub enum BindingStyle {
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).