Trait xmlparser::FromSpan [] [src]

pub trait FromSpan<'a> where
    Self: Sized
{ fn from_span(span: StrSpan<'a>) -> Self; fn from_str(text: &'a str) -> Self { ... } }

A general tokenizer interface.

Required Methods

Constructs a new Tokenizer from StrSpan.

Provided Methods

Constructs a new Tokenizer from a string.

Implementors