Home
last modified time | relevance | path

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

/third_party/rust/crates/rust-openssl/openssl-macros/src/
Dlib.rs6 use syn::{parse_macro_input, ItemFn};
11 let item = parse_macro_input!(item as ItemFn); in corresponds()
/third_party/rust/crates/syn/tests/
Dtest_generics.rs11 use syn::{DeriveInput, ItemFn, TypeParamBound, WhereClause, WherePredicate};
184 snapshot!(input as ItemFn, @r###" in test_fn_precedence_in_where_clause()
/third_party/rust/crates/syn/examples/trace-var/trace-var/src/
Dlib.rs7 use syn::{parse_macro_input, parse_quote, BinOp, Expr, Ident, ItemFn, Local, Pat, Stmt, Token};
184 let input = parse_macro_input!(input as ItemFn); in trace_var()
/third_party/skia/src/core/
DSkTBlockList.h18 template<typename T, typename B> using ItemFn = T (*)(B*, int); variable
20 ItemFn<T, typename std::conditional<Const, const SkBlockAllocator::Block,
375 ItemFn<T, typename std::conditional<Const, const SkBlockAllocator::Block,
/third_party/rust/crates/syn/src/
Ditem.rs31 Fn(ItemFn),
138 pub struct ItemFn {
316 | Item::Fn(ItemFn { attrs, .. }) in replace_attrs()
1494 impl Parse for ItemFn { implementation
1508 ) -> Result<ItemFn> { in parse_rest_of_fn() argument
1514 Ok(ItemFn { in parse_rest_of_fn()
2925 impl ToTokens for ItemFn { implementation
Dlib.rs406 ItemConst, ItemEnum, ItemExternCrate, ItemFn, ItemForeignMod, ItemImpl, ItemMacro, ItemMod,
/third_party/rust/crates/syn/src/gen/
Dfold.rs470 fn fold_item_fn(&mut self, i: ItemFn) -> ItemFn { in fold_item_fn() argument
2195 pub fn fold_item_fn<F>(f: &mut F, node: ItemFn) -> ItemFn in fold_item_fn()
2199 ItemFn { in fold_item_fn()
Dclone.rs1122 impl Clone for ItemFn { implementation
1124 ItemFn { in clone()
Deq.rs1087 impl Eq for ItemFn {} implementation
1090 impl PartialEq for ItemFn { implementation
Ddebug.rs1611 impl Debug for ItemFn { implementation
1613 impl ItemFn { in fmt() implementation
Dvisit_mut.rs470 fn visit_item_fn_mut(&mut self, i: &mut ItemFn) { in visit_item_fn_mut() argument
2439 pub fn visit_item_fn_mut<V>(v: &mut V, node: &mut ItemFn) in visit_item_fn_mut()
Dvisit.rs469 fn visit_item_fn(&mut self, i: &'ast ItemFn) { in visit_item_fn() argument
2436 pub fn visit_item_fn<'ast, V>(v: &mut V, node: &'ast ItemFn) in visit_item_fn()
Dhash.rs1476 impl Hash for ItemFn { implementation
/third_party/rust/crates/syn/tests/debug/
Dgen.rs2573 impl Debug for Lite<syn::ItemFn> {