Expand description
Utility functions for rendering.
Enums§
- Filter
Match - Classification describing how a filter string matches a path.
Constants§
- GAP_
MARKER - Standard gap marker line used to indicate skipped items.
Functions§
- dedup_
gap_ markers - Collapse consecutive gap markers to a single instance.
- ends_
with_ gap - Check whether the current output already ends with a gap marker (ignoring indentation).
- escape_
path - Escape reserved keywords in a path by adding raw identifier prefixes when needed.
- extract_
source - Extract source code from a file based on span information.
- must_
get - Retrieve an item from the crate index, panicking if it is missing.
- ppush
- Append
nameto a path prefix using::separators. - starts_
with_ gap - Check whether the output already starts with a gap marker (ignoring indentation and leading blank lines).