freemarker 0.1.1

Apache FreeMarker 语义兼容的 Rust 模板引擎(freemarker-core 迁移)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! XS C 格式 —— 对应 Java `freemarker.core.XSCFormat`
//! (`CFormatKind::Xs` 变体承载;字符串不转义——假定已有 XML 自动转义)

/// Java 类锚点:`XSCFormat`(Rust 侧由 `CFormatKind::Xs` 承载)
#[allow(dead_code)]
pub(crate) struct XsCFormat;

impl XsCFormat {
    /// Java `XSCFormat.NAME`
    #[allow(dead_code)]
    pub(crate) const NAME: &'static str = "XS";
}