Skip to main content

expand_namespace

Function expand_namespace 

Source
pub fn expand_namespace(args: NamespaceArgs, item: Item) -> Result<TokenStream>
Expand description

Expand the #[rorpc::namespace("/prefix")] attribute.

Returns the original item unchanged plus an inventory::submit! registration for NamespaceMetadata.