Trait xml5ever::driver::ParseResult [] [src]

pub trait ParseResult {
    type Sink: TreeSink + Default;
    fn get_result(sink: Self::Sink) -> Self;
}

Results which can be extracted from a TreeSink.

Implement this for your parse tree data type so that it can be returned by parse().

Associated Types

Type of consumer of tree modifications. It also extends Default for convenience.

Required Methods

Returns parsed tree data type

Implementors