[][src]Crate indented_blocks

Re-exports

pub use view::View;

Modules

indention
view

This module provides support for Views, which provide a reference-mapping functionality to support simple, zero-copy use cases, which require a mapping of head values. This is especially useful if the mapping itself either has only a rather small overhead or the resulting View is only traversed once.

Structs

Block

Enums

EmptyLinesMode

Functions

blocks_to_string
parse_nested_blocks

This function is a simple wrapper around parse_nested_blocks_from_lines.

parse_nested_blocks_from_lines

This function does the same as parse_nested_blocks, but expects an Iterator over lines as an argument, which allows pre-filtering of the passed lines without additional allocations (e.g. to filter comments and such)