pub trait Engine {
    // Required method
    fn parse(content: &str) -> Pod;
}
Expand description

The trait requirement used by Matter when parsing the front matter.

Implementing this trait in your own engine will allow you to create a custom front matter format that can be used by gray_matter.

Required Methods§

source

fn parse(content: &str) -> Pod

Implementors§