Home
last modified time | relevance | path

Searched refs:TraitBoundModifier (Results 1 – 14 of 14) sorted by relevance

/external/rust/crates/syn/src/
Dgenerics.rs490 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()
Dlib.rs353 PredicateLifetime, PredicateType, TraitBound, TraitBoundModifier, TypeParam, TypeParamBound,
Dty.rs483 modifier: TraitBoundModifier::None, in ambig_ty()
597 modifier: TraitBoundModifier::None, in ambig_ty()
/external/rust/crates/serde_derive/src/
Dbound.rs291 modifier: syn::TraitBoundModifier::None, in with_bound()
325 modifier: syn::TraitBoundModifier::None, in with_self_bound()
/external/rust/crates/syn/src/gen/
Deq.rs1737 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()
Dfold.rs629 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()
Dhash.rs2304 impl Hash for TraitBoundModifier { implementation
2310 TraitBoundModifier::None => { in hash()
2313 TraitBoundModifier::Maybe(_) => { in hash()
Dvisit_mut.rs627 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()
Dvisit.rs626 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()
Dclone.rs1811 impl Copy for TraitBoundModifier {} implementation
1814 impl Clone for TraitBoundModifier { implementation
Ddebug.rs2461 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/
Deq.rs111 use rustc_ast::ast::TraitBoundModifier;
515 spanless_eq_enum!(TraitBoundModifier; None Maybe MaybeConst MaybeConstMaybe);
/external/rust/cxx/syntax/
Dparse.rs21 TraitBoundModifier, Type as RustType, TypeArray, TypeBareFn, TypeParamBound, TypePath, TypePtr,
922 modifier: TraitBoundModifier::None, in parse_extern_type_bounded()
/external/rust/crates/syn/tests/debug/
Dgen.rs4545 impl Debug for Lite<syn::TraitBoundModifier> {
4549 syn::TraitBoundModifier::None => formatter.write_str("None"), in fmt()
4550 syn::TraitBoundModifier::Maybe(_val) => { in fmt()