import_tokens_attr_internal

Function import_tokens_attr_internal 

Source
pub fn import_tokens_attr_internal<T1: Into<TokenStream>, T2: Into<TokenStream>>(
    attr: T1,
    tokens: T2,
    hidden_source_path: bool,
) -> Result<TokenStream>
Expand description

Internal implementation for the #[import_tokens_attr] attribute.

You shouldn’t need to use this directly, but it may be useful if you wish to rebrand/rename the #[import_tokens_attr] macro without extra indirection.