Enum markup5ever::serialize::TraversalScope
source · Expand description
Used as a parameter to serialize
, telling it if we want to skip the parent.
Variants§
IncludeNode
Include the parent node when serializing.
ChildrenOnly(Option<QualName>)
Only serialize the children of the node, treating any provided qualified name as the parent while serializing.
This is used in the implementation of html5ever::serialize::serialize
Trait Implementations§
source§impl Clone for TraversalScope
impl Clone for TraversalScope
source§fn clone(&self) -> TraversalScope
fn clone(&self) -> TraversalScope
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more