diff options
Diffstat (limited to 'macros/src/injectable_macro_args.rs')
-rw-r--r-- | macros/src/injectable_macro_args.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/macros/src/injectable_macro_args.rs b/macros/src/injectable_macro_args.rs new file mode 100644 index 0000000..4ef4389 --- /dev/null +++ b/macros/src/injectable_macro_args.rs @@ -0,0 +1,17 @@ +use syn::parse::{Parse, ParseStream}; +use syn::TypePath; + +pub struct InjectableMacroArgs +{ + pub interface: TypePath, +} + +impl Parse for InjectableMacroArgs +{ + fn parse(input: ParseStream) -> syn::Result<Self> + { + Ok(Self { + interface: input.parse()?, + }) + } +} |