Home
last modified time | relevance | path

Searched defs:TraitDef (Results 1 – 6 of 6) sorted by relevance

/third_party/rust/rust/compiler/rustc_middle/src/ty/
Dtrait_def.rs16 pub struct TraitDef { struct
17 pub def_id: DefId,
19 pub unsafety: hir::Unsafety,
25 pub paren_sugar: bool,
27 pub has_auto_impl: bool,
32 pub is_marker: bool,
41 pub is_coinductive: bool,
46 pub skip_array_during_method_dispatch: bool,
50 pub specialization_kind: TraitSpecializationKind,
54 pub must_implement_one_of: Option<Box<[Ident]>>,
[all …]
Dstructural_impls.rs21 impl fmt::Debug for ty::TraitDef { implementation
/third_party/rust/rust/compiler/rustc_builtin_macros/src/deriving/generic/
Dmod.rs185 pub struct TraitDef<'a> { struct
187 pub span: Span,
190 pub path: Path,
193 pub skip_path_as_bound: bool,
196 pub needs_copy_as_bound_if_packed: bool,
200 pub additional_bounds: Vec<Ty>,
203 pub supports_unions: bool,
205 pub methods: Vec<MethodDef<'a>>,
207 pub associated_types: Vec<(Ident, Ty)>,
209 pub is_const: bool,
[all …]
/third_party/rust/rust/compiler/rustc_hir_analysis/src/check/
Dcheck.rs682 trait_def: &ty::TraitDef, in check_specialization_validity()
/third_party/rust/rust/compiler/rustc_hir_analysis/src/
Dcollect.rs893 fn trait_def(tcx: TyCtxt<'_>, def_id: LocalDefId) -> ty::TraitDef { in trait_def()
/third_party/rust/rust/compiler/rustc_trait_selection/src/traits/
Dproject.rs127 TraitDef(ty::PolyProjectionPredicate<'tcx>), enumerator