Lines Matching refs:ty
11 use crate::ty::{ReturnType, Type};
218 pub ty: Type,
278 pub ty: Box<Type>,
306 use crate::ty::{ReturnType, Type};
331 Type::Path(mut ty) in parse()
332 if ty.qself.is_none() in parse()
333 && ty.path.leading_colon.is_none() in parse()
334 && ty.path.segments.len() == 1 in parse()
335 && match &ty.path.segments[0].arguments { in parse()
341 let segment = ty.path.segments.pop().unwrap().into_value(); in parse()
360 ty: input.parse()?, in parse()
367 let segment = ty.path.segments.pop().unwrap().into_value(); in parse()
402 argument = Type::Path(ty); in parse()
688 ty: Box::new(this), in qpath()
783 GenericArgument::Type(ty) => ty.to_tokens(tokens), in to_tokens()
855 self.ty.to_tokens(tokens); in to_tokens()
916 qself.ty.to_tokens(tokens); in print_qpath()