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