pub fn compile(
document: &Document,
options: CompileOptions<'_>,
) -> Result<Component, Error>Expand description
Compiles the Document into a FIDL [fdecl::Component].
options is a builder used to provide additional options, such as file path for debugging
purposes.
Note: This function ignores the include section of the document. It is
assumed that those entries were already processed.