pub type UncheckedDocument = OpenDocument<Unchecked>;
Aliased Typeยง
pub struct UncheckedDocument {
pub uri: DocumentURI,
pub title: Option<Box<str>>,
pub elements: Vec<DocumentElement<Unchecked>>,
pub styles: DocumentStyles,
}
Fieldsยง
ยงuri: DocumentURI
ยงtitle: Option<Box<str>>
ยงelements: Vec<DocumentElement<Unchecked>>
ยงstyles: DocumentStyles
Implementationsยง
Sourceยงimpl UncheckedDocument
impl UncheckedDocument
pub fn dfs(&self) -> impl Iterator<Item = &DocumentElement<Unchecked>>
pub fn check(self, checker: &mut impl DocumentChecker) -> Document
Sourceยงimpl UncheckedDocument
impl UncheckedDocument
pub fn search_index(&self, html: &str) -> Option<SearchIndex>
Available on crate feature
tantivy
only.pub fn all_searches(&self, html: &str) -> Vec<SearchIndex>
Available on crate feature
tantivy
only.