Searched defs:TokenStream (Results 1 – 5 of 5) sorted by relevance
43 pub fn unified_init(args: TokenStream, input: TokenStream) -> TokenStream { in unified_init()49 fn do_unified_init(args: TokenStream, input: TokenStream) -> syn::Result<proc_macro2::TokenStream> { in do_unified_init()165 ) -> syn::Result<proc_macro2::TokenStream> { in generate_unified_initializer()
65 pub fn cast_to(args: TokenStream, input: TokenStream) -> TokenStream { in cast_to()133 pub fn castable_to(input: TokenStream) -> TokenStream { in castable_to()
11 pub fn process(flags: &HashSet<Flag>, paths: Vec<Path>, input: DeriveInput) -> TokenStream { in process()
16 pub fn process(flags: &HashSet<Flag>, input: ItemImpl) -> TokenStream { in process()
11 pub fn generate_caster(ty: &impl ToTokens, trait_: &impl ToTokens, sync: bool) -> TokenStream { in generate_caster()