Home
last modified time | relevance | path

Searched refs:supertraits (Results 1 – 11 of 11) sorted by relevance

/external/rust/crates/async-trait/src/
Dexpand.rs34 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/
Ditem.rs292 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/
DREADME.md219 and/or Sync as supertraits (Send if there are `&mut self` methods with default
/external/rust/crates/syn/src/gen/
Dclone.rs1232 supertraits: self.supertraits.clone(), in clone()
Deq.rs1234 && self.supertraits == other.supertraits in eq()
Dfold.rs2077 supertraits: FoldHelper::lift(node.supertraits, |it| f.fold_type_param_bound(it)), in fold_item_trait()
Dhash.rs1589 self.supertraits.hash(state); in hash()
Ddebug.rs1710 formatter.field("supertraits", &self.supertraits); in fmt()
Dvisit_mut.rs2422 for el in Punctuated::pairs_mut(&mut node.supertraits) { in visit_item_trait_mut()
Dvisit.rs2416 for el in Punctuated::pairs(&node.supertraits) { in visit_item_trait()
/external/rust/crates/syn/tests/debug/
Dgen.rs2877 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()