Home
last modified time | relevance | path

Searched refs:ItemFn (Results 1 – 19 of 19) sorted by relevance

/external/rust/crates/syn-mid/src/
Dfunc.rs12 pub struct ItemFn {
77 use super::{Block, FnArg, ItemFn, PatType, Receiver, Signature};
131 impl Parse for ItemFn { implementation
192 use super::{Block, FnArg, ItemFn, Receiver, Signature};
244 impl ToTokens for ItemFn { implementation
Dlib.rs53 func::{Block, FnArg, ItemFn, Receiver, Signature},
/external/rust/crates/remain/src/
Dlib.rs160 use syn::{parse_macro_input, ItemFn};
183 let mut input = parse_macro_input!(input as ItemFn); in check()
Dvisit.rs3 use syn::{parse_quote, Attribute, Expr, ExprMatch, ItemFn, Local};
7 pub fn check(input: &mut ItemFn) { in check() argument
/external/rust/crates/no-panic/src/
Dlib.rs127 use syn::{parse_macro_input, parse_quote, Attribute, FnArg, Ident, ItemFn, PatType, ReturnType};
133 let mut function = parse_macro_input!(function as ItemFn); in no_panic()
/external/rust/crates/syn/tests/
Dtest_generics.rs5 use syn::{DeriveInput, ItemFn, TypeParamBound, WhereClause, WherePredicate};
184 snapshot!(input as ItemFn, @r###" in test_fn_precedence_in_where_clause()
/external/rust/crates/tokio-macros/src/
Dentry.rs177 mut input: syn::ItemFn, in parse_knobs() argument
311 let input = syn::parse_macro_input!(item as syn::ItemFn); in main()
325 let input = syn::parse_macro_input!(item as syn::ItemFn); in test()
/external/skia/src/gpu/
DGrTBlockList.h18 template<typename T, typename B> using ItemFn = T (*)(B*, int); variable
20 ItemFn<T, typename std::conditional<Const, const GrBlockAllocator::Block,
379 ItemFn<T, typename std::conditional<Const, const GrBlockAllocator::Block,
/external/rust/crates/syn-mid/
DREADME.md13 - `syn_mid::ItemFn` -- A function whose body is not parsed.
/external/rust/crates/syn/src/
Dlib.rs373 ItemEnum, ItemExternCrate, ItemFn, ItemForeignMod, ItemImpl, ItemMacro, ItemMacro2, ItemMod,
Ditem.rs32 Fn(ItemFn),
158 pub struct ItemFn {
370 | Item::Fn(ItemFn { attrs, .. }) in replace_attrs()
1525 impl Parse for ItemFn { implementation
1539 ) -> Result<ItemFn> { in parse_rest_of_fn() argument
1545 Ok(ItemFn { in parse_rest_of_fn()
2860 impl ToTokens for ItemFn { implementation
/external/rust/crates/syn/src/gen/
Dfold.rs375 fn fold_item_fn(&mut self, i: ItemFn) -> ItemFn { in fold_item_fn() argument
1940 pub fn fold_item_fn<F>(f: &mut F, node: ItemFn) -> ItemFn in fold_item_fn()
1944 ItemFn { in fold_item_fn()
Dclone.rs1108 impl Clone for ItemFn { implementation
1110 ItemFn { in clone()
Deq.rs1113 impl Eq for ItemFn {} implementation
1116 impl PartialEq for ItemFn { implementation
Dvisit_mut.rs378 fn visit_item_fn_mut(&mut self, i: &mut ItemFn) { in visit_item_fn_mut() argument
2260 pub fn visit_item_fn_mut<V>(v: &mut V, node: &mut ItemFn) in visit_item_fn_mut()
Dvisit.rs374 fn visit_item_fn(&mut self, i: &'ast ItemFn) { in visit_item_fn() argument
2254 pub fn visit_item_fn<'ast, V>(v: &mut V, node: &'ast ItemFn) in visit_item_fn()
Dhash.rs1466 impl Hash for ItemFn { implementation
Ddebug.rs1586 impl Debug for ItemFn { implementation
/external/rust/crates/syn/tests/debug/
Dgen.rs3010 impl Debug for Lite<syn::ItemFn> {