pub type DocumentReader = Rc<dyn Fn(&Path) -> Option<TextModel>>;Expand description
Any adapter, with parseable leaf content grafted as subtrees.
A host’s reader for a document leaf: the path in, its text-level
model out, or None to leave the leaf to the default grafting.
Aliased Type§
pub struct DocumentReader { /* private fields */ }