Skip to main content

Module translate

Module translate 

Source

Structs§

CompileOptions
Options for CML compilation. Uses the builder pattern.

Functions§

any_ref_to_decl
Takes an AnyRef and returns the fdecl::Ref equivalent and the dictionary path, if the ref was a dictionary ref.
any_ref_to_decl_deprecated
Takes an AnyRef and returns the fdecl::Ref equivalent and the dictionary path, if the ref was a dictionary ref.
compile
Compiles the Document into a FIDL [fdecl::Component]. options is a builder used to provide additional options, such as file path for debugging purposes.
compile_context
Compiles the DocumentContext into a FIDL [fdecl::Component].
dictionary_from_context_map
Converts an IndexMap of spanned Values into a fuchsia.data.Dictionary.
extract_required_rights
translate_capabilities
translate_capabilities_deprecated