Lines Matching refs:ty
27 if let Type::RustBox(ty) = self { in impl_key()
28 if let Type::Ident(ident) = &ty.inner { in impl_key()
29 return Some(ImplKey::RustBox(NamedImplKey::new(ty, ident))); in impl_key()
31 } else if let Type::RustVec(ty) = self { in impl_key()
32 if let Type::Ident(ident) = &ty.inner { in impl_key()
33 return Some(ImplKey::RustVec(NamedImplKey::new(ty, ident))); in impl_key()
35 } else if let Type::UniquePtr(ty) = self { in impl_key()
36 if let Type::Ident(ident) = &ty.inner { in impl_key()
37 return Some(ImplKey::UniquePtr(NamedImplKey::new(ty, ident))); in impl_key()
39 } else if let Type::SharedPtr(ty) = self { in impl_key()
40 if let Type::Ident(ident) = &ty.inner { in impl_key()
41 return Some(ImplKey::SharedPtr(NamedImplKey::new(ty, ident))); in impl_key()
43 } else if let Type::WeakPtr(ty) = self { in impl_key()
44 if let Type::Ident(ident) = &ty.inner { in impl_key()
45 return Some(ImplKey::WeakPtr(NamedImplKey::new(ty, ident))); in impl_key()
47 } else if let Type::CxxVector(ty) = self { in impl_key()
48 if let Type::Ident(ident) = &ty.inner { in impl_key()
49 return Some(ImplKey::CxxVector(NamedImplKey::new(ty, ident))); in impl_key()