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

Include the parent node when serializing.

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]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Clone for TraversalScope
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations