Home
last modified time | relevance | path

Searched refs:TypePath (Results 1 - 22 of 22) sorted by relevance

/third_party/rust/crates/syn/tests/
H A Dtest_path.rs8 use syn::{parse_quote, Expr, Type, TypePath};
56 let mut ty: TypePath = parse_quote!(<Self as A>::Q); in print_incomplete_qpath()
71 let mut ty: TypePath = parse_quote!(<Self>::A::B); in print_incomplete_qpath()
86 let mut ty: TypePath = parse_quote!(Self::A::B); in print_incomplete_qpath()
/third_party/rust/crates/serde/serde_derive/src/
H A Dbound.rs109 associated_type_usage: Vec<&'ast syn::TypePath>, in with_bound()
279 .map(|id| syn::TypePath {
371 syn::Type::Path(syn::TypePath { in type_of_item()
387 syn::GenericArgument::Type(syn::Type::Path(syn::TypePath { in type_of_item()
/third_party/rust/crates/serde/serde_derive_internals/src/
H A Dreceiver.rs8 Path, PathArguments, QSelf, ReturnType, Token, Type, TypeParamBound, TypePath, WherePredicate,
22 struct ReplaceReceiver<'a>(&'a TypePath);
25 fn self_ty(&self, span: Span) -> TypePath { in self_ty()
91 fn visit_type_path_mut(&mut self, ty: &mut TypePath) { in visit_type_path_mut()
155 fn visit_type_path_mut_impl(&mut self, ty: &mut TypePath) { in visit_type_path_mut_impl()
/third_party/rust/crates/serde/serde_derive/src/internals/
H A Dreceiver.rs8 Path, PathArguments, QSelf, ReturnType, Token, Type, TypeParamBound, TypePath, WherePredicate,
22 struct ReplaceReceiver<'a>(&'a TypePath);
25 fn self_ty(&self, span: Span) -> TypePath { in self_ty()
91 fn visit_type_path_mut(&mut self, ty: &mut TypePath) { in visit_type_path_mut()
155 fn visit_type_path_mut_impl(&mut self, ty: &mut TypePath) { in visit_type_path_mut_impl()
/third_party/rust/crates/syn/src/
H A Dty.rs43 Path(TypePath),
166 pub struct TypePath { structure names
310 return Ok(Type::Path(TypePath {
411 Type::Path(TypePath { qself: None, path }) => {
476 let ty: TypePath = input.parse()?;
738 impl Parse for TypePath {
742 Ok(TypePath { qself, path }) in parse()
1090 impl ToTokens for TypePath {
H A Dlib.rs514 TypeImplTrait, TypeInfer, TypeMacro, TypeNever, TypeParen, TypePath, TypePtr, TypeReference,
H A Ditem.rs1609 let mut ty = Type::Path(TypePath { in parse()
2522 if let Type::Path(TypePath { qself: None, .. }) = first_ty_ref { in parse_impl()
2526 if let Type::Path(TypePath { qself: None, path }) = first_ty { in parse_impl()
/third_party/rust/crates/clap/clap_derive/src/utils/
H A Dty.rs7 PathSegment, Type, TypePath,
82 Type::Path(TypePath { in only_last_segment()
/third_party/rust/crates/syn/codegen/src/
H A Dparse.rs11 Ident, Item, PathArguments, TypeMacro, TypePath, TypeTuple, UseTree, Visibility,
135 syn::Type::Path(TypePath { qself: None, path }) => { in introspect_type()
/third_party/rust/crates/cxx/gen/build/src/syntax/
H A Dparse.rs21 TraitBoundModifier, Type as RustType, TypeArray, TypeBareFn, TypeParamBound, TypePath, TypePtr,
1216 fn parse_type_path(ty: &TypePath) -> Result<Type> { in parse_type_path()
/third_party/rust/crates/cxx/gen/lib/src/syntax/
H A Dparse.rs21 TraitBoundModifier, Type as RustType, TypeArray, TypeBareFn, TypeParamBound, TypePath, TypePtr,
1216 fn parse_type_path(ty: &TypePath) -> Result<Type> { in parse_type_path()
/third_party/rust/crates/cxx/macro/src/syntax/
H A Dparse.rs21 TraitBoundModifier, Type as RustType, TypeArray, TypeBareFn, TypeParamBound, TypePath, TypePtr,
1216 fn parse_type_path(ty: &TypePath) -> Result<Type> { in parse_type_path()
/third_party/rust/crates/cxx/gen/cmd/src/syntax/
H A Dparse.rs21 TraitBoundModifier, Type as RustType, TypeArray, TypeBareFn, TypeParamBound, TypePath, TypePtr,
1216 fn parse_type_path(ty: &TypePath) -> Result<Type> { in parse_type_path()
/third_party/rust/crates/cxx/syntax/
H A Dparse.rs21 TraitBoundModifier, Type as RustType, TypeArray, TypeBareFn, TypeParamBound, TypePath, TypePtr,
1216 fn parse_type_path(ty: &TypePath) -> Result<Type> { in parse_type_path()
/third_party/rust/crates/syn/src/gen/
H A Dvisit.rs832 fn visit_type_path(&mut self, i: &'ast TypePath) { in visit_type_path()
3603 pub fn visit_type_path<'ast, V>(v: &mut V, node: &'ast TypePath) in visit_type_path()
H A Dclone.rs1980 impl Clone for TypePath {
1982 TypePath { in clone()
H A Dfold.rs836 fn fold_type_path(&mut self, i: TypePath) -> TypePath { in fold_type_path()
3232 pub fn fold_type_path<F>(f: &mut F, node: TypePath) -> TypePath in fold_type_path()
3236 TypePath { in fold_type_path()
H A Deq.rs1931 impl Eq for TypePath {}
1934 impl PartialEq for TypePath {
H A Ddebug.rs2767 impl Debug for TypePath {
2769 impl TypePath { in fmt() impls
2777 self.debug(formatter, "TypePath") in fmt()
H A Dvisit_mut.rs833 fn visit_type_path_mut(&mut self, i: &mut TypePath) { in visit_type_path_mut()
3606 pub fn visit_type_path_mut<V>(v: &mut V, node: &mut TypePath) in visit_type_path_mut()
H A Dhash.rs2554 impl Hash for TypePath {
/third_party/rust/crates/syn/tests/debug/
H A Dgen.rs4369 impl Debug for Lite<syn::TypePath> {
4371 let mut formatter = formatter.debug_struct("TypePath"); in fmt()

Completed in 51 milliseconds