fn struct_namespace(
gcx: Gcx<'_>,
root: &Path,
contract: ContractId,
id: StructId,
) -> Result<Option<StorageNamespace>>Expand description
Returns the namespace declared by struct id in contract, if any.
Errors if the annotation is malformed or Solar emits errors while computing the layout.