fire-stream-api-codegen 0.1.6

Codegen for fire stream api
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use syn::parse::{Parse, ParseStream, Result};

use syn::Type;


#[derive(Clone)]
pub(crate) struct ApiArgs {
	pub ty: Type
}

impl Parse for ApiArgs {
	fn parse(input: ParseStream) -> Result<Self> {
		let ty: Type = input.parse()?;

		Ok(Self { ty })
	}
}