Searched refs:ItemFn (Results 1 - 13 of 13) sorted by relevance
/third_party/rust/crates/rust-openssl/openssl-macros/src/ |
H A D | lib.rs | 6 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 D | test_generics.rs | 11 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 D | lib.rs | 7 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 D | SkTBlockList.h | 18 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 D | item.rs | 31 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 D | lib.rs | 406 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 D | clone.rs | 1122 impl Clone for ItemFn { 1124 ItemFn { in clone()
|
H A D | fold.rs | 470 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 D | eq.rs | 1087 impl Eq for ItemFn {} 1090 impl PartialEq for ItemFn {
|
H A D | debug.rs | 1611 impl Debug for ItemFn { 1613 impl ItemFn { in fmt() impls 1623 self.debug(formatter, "ItemFn") in fmt()
|
H A D | visit_mut.rs | 470 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 D | hash.rs | 1476 impl Hash for ItemFn {
|
/third_party/rust/crates/syn/tests/debug/ |
H A D | gen.rs | 2573 impl Debug for Lite<syn::ItemFn> { 2575 let mut formatter = formatter.debug_struct("ItemFn"); in fmt()
|
Completed in 35 milliseconds