pub fn declared_path(
ast: &Ast,
id: Id<TypeNode>,
) -> Result<String, MaterialiseError>Expand description
Where a named declaration sits, rooted at the global namespace.
global::a.b.Colour. What a codec writes to reach an enumerator or a
bitmask constant the materialiser declared; the bare name resolves to
nothing outside the namespace it was declared in.
ยงErrors
MaterialiseError when the model will not answer for the type or
for a module it nests in.