Structs§
- Locus
- The ‘location focus’ of a source code snippet.
- Metrics 🔒
- Plain
Writer - A
WriteStyleimplementation that ignores all styling calls. useful for non color output. Available on all targets - Renderer
- A renderer of display list entries.
- Write
Style 🔒ByRef
Enums§
- Multi
Label - A multi-line label to render.
- Vertical
Bound 🔒
Traits§
- General
Write - A trait for writing or formatting into Unicode-accepting buffers or streams.
- Write
Style - A writer that can apply styling for different parts of a diagnostic renderer.
Functions§
- hanging_
labels 🔒 - Return an iterator that yields the labels that require hanging messages rendered underneath them.
- is_
overlapping 🔒 - Check if two ranges overlap
- label_
priority_ 🔒key - For prioritizing primary labels over secondary labels when rendering carets.
Type Aliases§
- General
Write Result - The type returned by formatter methods.
- Single
Label - Single-line label, with an optional message.
- Underline 🔒