Module structure

Source
Expand description

Types to represent the HCL structural sub-language.

Structs§

Attribute
Represents an HCL attribute which consists of an attribute key and a value expression.
AttributeMut
Allows mutable access to the value and surrounding Decor of an Attribute but not to its key.
Block
Represents an HCL block which consists of a block identifier, zero or more block labels and a block body.
BlockBuilder
BlockBuilder builds an HCL Block.
Body
Represents an HCL config file body.
BodyBuilder
BodyBuilder builds a HCL Body.
StructureMut
Allows mutable access to a structure, except for attribute keys which are immutable.

Enums§

BlockLabel
Represents an HCL block label.
Structure
Represents an HCL structure.

Type Aliases§

Attributes
An iterator over the Attributes within a Body.
AttributesMut
A mutable iterator over the Attributes within a Body.
Blocks
An iterator over the Blocks within a Body.
BlocksMut
A mutable iterator over the Blocks within a Body.
IntoAttributes
An owning iterator over the Attributes within a Body.
IntoBlocks
An owning iterator over the Blocks within a Body.
IntoIter
An owning iterator over the elements of a Body.
Iter
An iterator over the elements of a Body.
IterMut
A mutable iterator over the elements of a Body.