Module types

Module types 

Source
Expand description

Type-safe configuration types for rumdl.

This module contains newtype wrappers and validation types that enforce constraints on configuration values at both compile time and runtime.

Structs§

BrSpaces
Number of trailing spaces for Markdown line breaks (≥2)
BrSpacesError
Error type for invalid BrSpaces values.
HeadingLevel
Markdown heading level (1-6)
HeadingLevelError
Error type for invalid heading levels.
IndentSize
Indentation size (1-8 spaces)
IndentSizeError
Error type for invalid IndentSize values.
LineLength
A line length value that can be 0 (meaning no limit) or a positive value (≥1)
NonNegativeUsize
A non-negative usize (≥0)
NonNegativeUsizeError
Error type for invalid NonNegativeUsize values (i.e., negative integers).
PositiveUsize
A positive non-zero usize (≥1)
PositiveUsizeError
Error type for invalid PositiveUsize values.