any_ref_to_decl

Function any_ref_to_decl 

Source
pub fn any_ref_to_decl(
    options: &CompileOptions<'_>,
    reference: AnyRef<'_>,
    all_capability_names: Option<&BTreeSet<&BorrowedName>>,
    all_collection_names: Option<&BTreeSet<&BorrowedName>>,
) -> (Ref, Option<String>)
Expand description

Takes an AnyRef and returns the fdecl::Ref equivalent and the dictionary path, if the ref was a dictionary ref.