Home
last modified time | relevance | path

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

/external/rust/crates/syn/src/
Dgenerics.rs497 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()
Dlib.rs361 PredicateLifetime, PredicateType, TraitBound, TraitBoundModifier, TypeParam, TypeParamBound,
Dty.rs478 modifier: TraitBoundModifier::None, in ambig_ty()
590 modifier: TraitBoundModifier::None, in ambig_ty()
/external/rust/crates/serde_derive/src/
Dbound.rs293 modifier: syn::TraitBoundModifier::None, in with_bound()
327 modifier: syn::TraitBoundModifier::None, in with_self_bound()
/external/rust/crates/syn/tests/common/
Deq.rs18 TraitBoundModifier, TraitKind, TraitObjectSyntax, TraitRef, Ty, TyAliasKind, TyKind, UintTy,
383 spanless_eq_enum!(TraitBoundModifier; None Maybe MaybeConst MaybeConstMaybe);
/external/rust/crates/syn/src/gen/
Deq.rs1824 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()
Dfold.rs624 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()
Dhash.rs2299 impl Hash for TraitBoundModifier { implementation
2305 TraitBoundModifier::None => { in hash()
2308 TraitBoundModifier::Maybe(_) => { in hash()
Dvisit_mut.rs624 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()
Dvisit.rs620 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()
Dclone.rs1804 impl Copy for TraitBoundModifier {} implementation
1807 impl Clone for TraitBoundModifier { implementation
Ddebug.rs2456 impl Debug for TraitBoundModifier { implementation
2459 TraitBoundModifier::None => formatter.write_str("None"), in fmt()
2460 TraitBoundModifier::Maybe(v0) => { in fmt()
/external/rust/cxx/syntax/
Dparse.rs20 TraitBoundModifier, Type as RustType, TypeArray, TypeBareFn, TypeParamBound, TypePath, TypePtr,
827 modifier: TraitBoundModifier::None, in parse_extern_type_bounded()
/external/rust/crates/syn/tests/debug/
Dgen.rs4550 impl Debug for Lite<syn::TraitBoundModifier> {
4554 syn::TraitBoundModifier::None => formatter.write_str("None"), in fmt()
4555 syn::TraitBoundModifier::Maybe(_val) => { in fmt()