ranty 1.0.0

The Ranty procedural templating language
Documentation
use crate::RantyValue;

#[derive(Debug, Clone)]
pub enum WhitespaceNormalizationMode {
    /// Normalizes all whitespace tokens to a single ASCII space character (0x20).
    Default,
    /// Strips all (non-literal) whitespace.
    IgnoreAll,
    /// Prints all non-breaking whitespace verbatim.
    Verbatim,
    /// Normalizes all whitespace to a custom value.
    Custom(RantyValue),
}

impl Default for WhitespaceNormalizationMode {
    fn default() -> Self {
        Self::Default
    }
}