Searched refs:supertraits (Results 1 – 11 of 11) sorted by relevance
/external/rust/crates/async-trait/src/ |
D | expand.rs | 34 supertraits: &'a Supertraits, 65 supertraits: &input.supertraits, in expand() 250 Context::Trait { supertraits, .. } => !has_default || has_bound(supertraits, &bound), in transform_sig() 396 fn has_bound(supertraits: &Supertraits, marker: &Ident) -> bool { in has_bound() 397 for bound in supertraits { in has_bound()
|
/external/rust/crates/syn/src/ |
D | item.rs | 292 pub supertraits: Punctuated<TypeParamBound, Token![+]>, 2143 let mut supertraits = Punctuated::new(); in parse_rest_of_trait() localVariable 2149 supertraits.push_value(input.parse()?); in parse_rest_of_trait() 2153 supertraits.push_punct(input.parse()?); in parse_rest_of_trait() 2176 supertraits, in parse_rest_of_trait() 2981 if !self.supertraits.is_empty() { in to_tokens() 2983 self.supertraits.to_tokens(tokens); in to_tokens()
|
/external/rust/crates/async-trait/ |
D | README.md | 219 and/or Sync as supertraits (Send if there are `&mut self` methods with default
|
/external/rust/crates/syn/src/gen/ |
D | clone.rs | 1232 supertraits: self.supertraits.clone(), in clone()
|
D | eq.rs | 1234 && self.supertraits == other.supertraits in eq()
|
D | fold.rs | 2077 supertraits: FoldHelper::lift(node.supertraits, |it| f.fold_type_param_bound(it)), in fold_item_trait()
|
D | hash.rs | 1589 self.supertraits.hash(state); in hash()
|
D | debug.rs | 1710 formatter.field("supertraits", &self.supertraits); in fmt()
|
D | visit_mut.rs | 2422 for el in Punctuated::pairs_mut(&mut node.supertraits) { in visit_item_trait_mut()
|
D | visit.rs | 2416 for el in Punctuated::pairs(&node.supertraits) { in visit_item_trait()
|
/external/rust/crates/syn/tests/debug/ |
D | gen.rs | 2877 if !_val.supertraits.is_empty() { in fmt() 2878 formatter.field("supertraits", Lite(&_val.supertraits)); in fmt() 3304 if !_val.supertraits.is_empty() { in fmt() 3305 formatter.field("supertraits", Lite(&_val.supertraits)); in fmt()
|