/external/rust/crates/syn/src/ |
D | generics.rs | 490 pub modifier: TraitBoundModifier, 505 pub enum TraitBoundModifier { 868 let modifier: TraitBoundModifier = input.parse()?; in parse() 906 impl Parse for TraitBoundModifier { implementation 909 input.parse().map(TraitBoundModifier::Maybe) in parse() 911 Ok(TraitBoundModifier::None) in parse() 1301 impl ToTokens for TraitBoundModifier { implementation 1304 TraitBoundModifier::None => {} in to_tokens() 1305 TraitBoundModifier::Maybe(t) => t.to_tokens(tokens), in to_tokens()
|
D | lib.rs | 353 PredicateLifetime, PredicateType, TraitBound, TraitBoundModifier, TypeParam, TypeParamBound,
|
D | ty.rs | 483 modifier: TraitBoundModifier::None, in ambig_ty() 597 modifier: TraitBoundModifier::None, in ambig_ty()
|
/external/rust/crates/serde_derive/src/ |
D | bound.rs | 291 modifier: syn::TraitBoundModifier::None, in with_bound() 325 modifier: syn::TraitBoundModifier::None, in with_self_bound()
|
/external/rust/crates/syn/src/gen/ |
D | eq.rs | 1737 impl Eq for TraitBoundModifier {} implementation 1740 impl PartialEq for TraitBoundModifier { implementation 1743 (TraitBoundModifier::None, TraitBoundModifier::None) => true, in eq() 1744 (TraitBoundModifier::Maybe(_), TraitBoundModifier::Maybe(_)) => true, in eq()
|
D | fold.rs | 629 i: TraitBoundModifier, in fold_trait_bound_modifier() argument 630 ) -> TraitBoundModifier { in fold_trait_bound_modifier() argument 2868 node: TraitBoundModifier, in fold_trait_bound_modifier() argument 2869 ) -> TraitBoundModifier in fold_trait_bound_modifier() 2874 TraitBoundModifier::None => TraitBoundModifier::None, in fold_trait_bound_modifier() 2875 TraitBoundModifier::Maybe(_binding_0) => { in fold_trait_bound_modifier() 2876 TraitBoundModifier::Maybe(Token![?](tokens_helper(f, &_binding_0.spans))) in fold_trait_bound_modifier()
|
D | hash.rs | 2304 impl Hash for TraitBoundModifier { implementation 2310 TraitBoundModifier::None => { in hash() 2313 TraitBoundModifier::Maybe(_) => { in hash()
|
D | visit_mut.rs | 627 fn visit_trait_bound_modifier_mut(&mut self, i: &mut TraitBoundModifier) { in visit_trait_bound_modifier_mut() argument 3231 pub fn visit_trait_bound_modifier_mut<V>(v: &mut V, node: &mut TraitBoundModifier) in visit_trait_bound_modifier_mut() 3236 TraitBoundModifier::None => {} in visit_trait_bound_modifier_mut() 3237 TraitBoundModifier::Maybe(_binding_0) => { in visit_trait_bound_modifier_mut()
|
D | visit.rs | 626 fn visit_trait_bound_modifier(&mut self, i: &'ast TraitBoundModifier) { in visit_trait_bound_modifier() argument 3231 pub fn visit_trait_bound_modifier<'ast, V>(v: &mut V, node: &'ast TraitBoundModifier) in visit_trait_bound_modifier() 3236 TraitBoundModifier::None => {} in visit_trait_bound_modifier() 3237 TraitBoundModifier::Maybe(_binding_0) => { in visit_trait_bound_modifier()
|
D | clone.rs | 1811 impl Copy for TraitBoundModifier {} implementation 1814 impl Clone for TraitBoundModifier { implementation
|
D | debug.rs | 2461 impl Debug for TraitBoundModifier { implementation 2464 TraitBoundModifier::None => formatter.write_str("None"), in fmt() 2465 TraitBoundModifier::Maybe(v0) => { in fmt()
|
/external/rust/crates/syn/tests/common/ |
D | eq.rs | 111 use rustc_ast::ast::TraitBoundModifier; 515 spanless_eq_enum!(TraitBoundModifier; None Maybe MaybeConst MaybeConstMaybe);
|
/external/rust/cxx/syntax/ |
D | parse.rs | 21 TraitBoundModifier, Type as RustType, TypeArray, TypeBareFn, TypeParamBound, TypePath, TypePtr, 922 modifier: TraitBoundModifier::None, in parse_extern_type_bounded()
|
/external/rust/crates/syn/tests/debug/ |
D | gen.rs | 4545 impl Debug for Lite<syn::TraitBoundModifier> { 4549 syn::TraitBoundModifier::None => formatter.write_str("None"), in fmt() 4550 syn::TraitBoundModifier::Maybe(_val) => { in fmt()
|