Skip to main content

load_from_doc

Function load_from_doc 

Source
pub fn load_from_doc<'f>(doc: &MarkedYaml<'f>) -> Result<RootSchema>
Expand description

Load a YAML schema from a document. Basically just a wrapper around the TryFrom<&MarkedYaml<’_>> for RootSchema.