pub trait Loader:
Debug
+ Serialize
+ Deserialize {
// Required method
fn load(
&self,
input: &str,
accept_draft: bool,
) -> Result<Option<Document<Ast>>>;
}
Expand description
A loader creates an initial Document from a raw input string loaded from a content file.