aboutsummaryrefslogtreecommitdiff
path: root/syrette_macros/src/injectable_macro_args.rs
blob: 4ef4389607a6295e79d5891bc461839117fdc5be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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()?,
        })
    }
}