/external/rust/crates/syn/src/ |
D | generics.rs | 497 pub modifier: TraitBoundModifier, 512 pub enum TraitBoundModifier { 841 let modifier: TraitBoundModifier = input.parse()?; in parse() 860 impl Parse for TraitBoundModifier { implementation 863 input.parse().map(TraitBoundModifier::Maybe) in parse() 865 Ok(TraitBoundModifier::None) in parse() 1236 impl ToTokens for TraitBoundModifier { implementation 1239 TraitBoundModifier::None => {} in to_tokens() 1240 TraitBoundModifier::Maybe(t) => t.to_tokens(tokens), in to_tokens()
|
D | lib.rs | 361 PredicateLifetime, PredicateType, TraitBound, TraitBoundModifier, TypeParam, TypeParamBound,
|
D | ty.rs | 478 modifier: TraitBoundModifier::None, in ambig_ty() 590 modifier: TraitBoundModifier::None, in ambig_ty()
|
/external/rust/crates/serde_derive/src/ |
D | bound.rs | 293 modifier: syn::TraitBoundModifier::None, in with_bound() 327 modifier: syn::TraitBoundModifier::None, in with_self_bound()
|
/external/rust/crates/syn/tests/common/ |
D | eq.rs | 18 TraitBoundModifier, TraitKind, TraitObjectSyntax, TraitRef, Ty, TyAliasKind, TyKind, UintTy, 383 spanless_eq_enum!(TraitBoundModifier; None Maybe MaybeConst MaybeConstMaybe);
|
/external/rust/crates/syn/src/gen/ |
D | eq.rs | 1824 impl Eq for TraitBoundModifier {} implementation 1827 impl PartialEq for TraitBoundModifier { implementation 1830 (TraitBoundModifier::None, TraitBoundModifier::None) => true, in eq() 1831 (TraitBoundModifier::Maybe(_), TraitBoundModifier::Maybe(_)) => true, in eq()
|
D | fold.rs | 624 fn fold_trait_bound_modifier(&mut self, i: TraitBoundModifier) -> TraitBoundModifier { in fold_trait_bound_modifier() argument 2754 pub fn fold_trait_bound_modifier<F>(f: &mut F, node: TraitBoundModifier) -> TraitBoundModifier in fold_trait_bound_modifier() 2759 TraitBoundModifier::None => TraitBoundModifier::None, in fold_trait_bound_modifier() 2760 TraitBoundModifier::Maybe(_binding_0) => { in fold_trait_bound_modifier() 2761 TraitBoundModifier::Maybe(Token ! [?](tokens_helper(f, &_binding_0.spans))) in fold_trait_bound_modifier()
|
D | hash.rs | 2299 impl Hash for TraitBoundModifier { implementation 2305 TraitBoundModifier::None => { in hash() 2308 TraitBoundModifier::Maybe(_) => { in hash()
|
D | visit_mut.rs | 624 fn visit_trait_bound_modifier_mut(&mut self, i: &mut TraitBoundModifier) { in visit_trait_bound_modifier_mut() argument 3228 pub fn visit_trait_bound_modifier_mut<V>(v: &mut V, node: &mut TraitBoundModifier) in visit_trait_bound_modifier_mut() 3233 TraitBoundModifier::None => {} in visit_trait_bound_modifier_mut() 3234 TraitBoundModifier::Maybe(_binding_0) => { in visit_trait_bound_modifier_mut()
|
D | visit.rs | 620 fn visit_trait_bound_modifier(&mut self, i: &'ast TraitBoundModifier) { in visit_trait_bound_modifier() argument 3222 pub fn visit_trait_bound_modifier<'ast, V>(v: &mut V, node: &'ast TraitBoundModifier) in visit_trait_bound_modifier() 3227 TraitBoundModifier::None => {} in visit_trait_bound_modifier() 3228 TraitBoundModifier::Maybe(_binding_0) => { in visit_trait_bound_modifier()
|
D | clone.rs | 1804 impl Copy for TraitBoundModifier {} implementation 1807 impl Clone for TraitBoundModifier { implementation
|
D | debug.rs | 2456 impl Debug for TraitBoundModifier { implementation 2459 TraitBoundModifier::None => formatter.write_str("None"), in fmt() 2460 TraitBoundModifier::Maybe(v0) => { in fmt()
|
/external/rust/cxx/syntax/ |
D | parse.rs | 20 TraitBoundModifier, Type as RustType, TypeArray, TypeBareFn, TypeParamBound, TypePath, TypePtr, 827 modifier: TraitBoundModifier::None, in parse_extern_type_bounded()
|
/external/rust/crates/syn/tests/debug/ |
D | gen.rs | 4550 impl Debug for Lite<syn::TraitBoundModifier> { 4554 syn::TraitBoundModifier::None => formatter.write_str("None"), in fmt() 4555 syn::TraitBoundModifier::Maybe(_val) => { in fmt()
|