Re-exports§
pub use regions::*;pub use substitute::*;pub use trait_proofs::*;pub use types::*;pub use vars::*;
Modules§
- regions
- substitute
- trait_
proofs - types
- vars
- Type-level variables. There are 4 kinds of variables at the type-level: regions, types, const generics and trait clauses. The relevant definitions are in this module.
Macros§
- mk_
index_ 🔒impls - Delegate
Indeximplementations to subfields.
Structs§
- Binder
- A value of type
Tbound by generic parameters. Used in any context where we’re adding generic parameters that aren’t on the top-level item, e.g.for<'a>clauses (usesRegionBinderfor now), trait methods, GATs (TODO). - Generic
Args - A set of generic arguments.
- Generic
Params - Generic parameters for a declaration, including predicates.
- Outlives
Pred - .0 outlives .1
- Region
Binder - A value of type
Tbound by regions. We should usebinderinstead but this causes name clash issues in the derived ocaml visitors. - Trait
Type Constraint - A constraint over a trait associated type.
Enums§
Traits§
Type Aliases§
- Boxed
Args - Poly
Trait Decl Ref - A quantified trait predicate, e.g.
for<'a> Type<'a>: Trait<'a, Args>. - Region
Outlives - Type
Outlives