Home
last modified time | relevance | path

Searched refs:ItemFn (Results 1 - 13 of 13) sorted by relevance

/third_party/rust/crates/rust-openssl/openssl-macros/src/
H A 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/
H A Dtest_generics.rs11 use syn::{DeriveInput, ItemFn, TypeParamBound, WhereClause, WherePredicate};
184 snapshot!(input as ItemFn, @r###" in test_fn_precedence_in_where_clause()
185 ItemFn { in test_fn_precedence_in_where_clause()
/third_party/rust/crates/syn/examples/trace-var/trace-var/src/
H A 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/
H A DSkTBlockList.h18 template<typename T, typename B> using ItemFn = T (*)(B*, int);
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/
H A Ditem.rs31 Fn(ItemFn),
138 pub struct ItemFn { structure names
316 | Item::Fn(ItemFn { attrs, .. })
1494 impl Parse for ItemFn {
1508 ) -> Result<ItemFn> { in parse_rest_of_fn()
1514 Ok(ItemFn { in parse_rest_of_fn()
2925 impl ToTokens for ItemFn {
H A Dlib.rs406 ItemConst, ItemEnum, ItemExternCrate, ItemFn, ItemForeignMod, ItemImpl, ItemMacro, ItemMod,
664 /// use syn::{File, ItemFn};
669 /// fn visit_item_fn(&mut self, node: &'ast ItemFn) {
696 /// use syn::{File, ItemFn};
699 /// functions: Vec<&'ast ItemFn>,
703 /// fn visit_item_fn(&mut self, node: &'ast ItemFn) {
/third_party/rust/crates/syn/src/gen/
H A Dclone.rs1122 impl Clone for ItemFn {
1124 ItemFn { in clone()
H A Dfold.rs470 fn fold_item_fn(&mut self, i: ItemFn) -> ItemFn { in fold_item_fn()
2195 pub fn fold_item_fn<F>(f: &mut F, node: ItemFn) -> ItemFn in fold_item_fn()
2199 ItemFn { in fold_item_fn()
H A Deq.rs1087 impl Eq for ItemFn {}
1090 impl PartialEq for ItemFn {
H A Ddebug.rs1611 impl Debug for ItemFn {
1613 impl ItemFn { in fmt() impls
1623 self.debug(formatter, "ItemFn") in fmt()
H A Dvisit_mut.rs470 fn visit_item_fn_mut(&mut self, i: &mut ItemFn) { in visit_item_fn_mut()
2439 pub fn visit_item_fn_mut<V>(v: &mut V, node: &mut ItemFn) in visit_item_fn_mut()
H A Dhash.rs1476 impl Hash for ItemFn {
/third_party/rust/crates/syn/tests/debug/
H A Dgen.rs2573 impl Debug for Lite<syn::ItemFn> {
2575 let mut formatter = formatter.debug_struct("ItemFn"); in fmt()

Completed in 35 milliseconds