Function macro_magic_core::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.