Enum html5ever::serialize::TraversalScope
[−]
[src]
pub enum TraversalScope { IncludeNode, ChildrenOnly(Option<QualName>), }
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
impl PartialEq<TraversalScope> for TraversalScope
[src]
fn eq(&self, __arg_0: &TraversalScope) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TraversalScope) -> bool
[src]
This method tests for !=
.
impl Clone for TraversalScope
[src]
fn clone(&self) -> TraversalScope
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more