pub type OrderedAST = BTreeMap<KString, Template>;
Available on crate feature
std
only.Aliased Type§
pub struct OrderedAST { /* private fields */ }
Trait Implementations§
Source§impl From<TemplateResolver> for OrderedAST
Converts the resolver into an ordered abstract syntax tree (AST)
representation.
impl From<TemplateResolver> for OrderedAST
Converts the resolver into an ordered abstract syntax tree (AST) representation.
§Feature-dependent Behavior
- With
std
feature: Converts internal storage to aalloc::collections::BTreeMap
-backed ordered AST through iterative collection. This guarantees deterministic ordering. - Without
std
feature: Directly returns the pre-ordered AST structure without conversion, optimized for no_std environments.
Source§fn from(value: TemplateResolver) -> Self
fn from(value: TemplateResolver) -> Self
Converts to this type from the input type.