pub struct ResultTree {
pub children: Vec<ResultNode>,
pub output: OutputSpec,
pub character_map: Vec<(char, String)>,
pub secondary: Vec<(String, ResultTree)>,
}Expand description
The complete result of a transformation. Carries the
serialised top-level children plus the effective
<xsl:output> settings the serialiser will honour.
Fields§
§children: Vec<ResultNode>§output: OutputSpec§character_map: Vec<(char, String)>Flattened xsl:character-map substitutions selected by
xsl:output use-character-maps="…" (XSLT 2.0 §20). Empty
for stylesheets that don’t use character maps; populated at
apply time after composing every referenced map. The
serializer consults this list per emitted character.
secondary: Vec<(String, ResultTree)>Secondary result documents written by xsl:result-document href="…" (XSLT 2.0 §19.1): (resolved-href, document). Empty
unless the stylesheet produced secondary output.
Implementations§
Source§impl ResultTree
impl ResultTree
Trait Implementations§
Source§impl Clone for ResultTree
impl Clone for ResultTree
Source§fn clone(&self) -> ResultTree
fn clone(&self) -> ResultTree
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResultTree
impl Debug for ResultTree
Source§impl Default for ResultTree
impl Default for ResultTree
Source§fn default() -> ResultTree
fn default() -> ResultTree
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ResultTree
impl RefUnwindSafe for ResultTree
impl Send for ResultTree
impl Sync for ResultTree
impl Unpin for ResultTree
impl UnsafeUnpin for ResultTree
impl UnwindSafe for ResultTree
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more