Expand description
Contains the definition for the “Rust IR” – this is basically a “lowered” version of the AST, roughly corresponding to [the HIR] in the Rust compiler.
Structs§
- Alias
EqBound - Represents an alias equality bound on e.g. a type or type parameter. Does not know anything about what it’s binding.
- Associated
TyDatum - Represents an associated type declaration found inside of a trait:
- Associated
TyDatum Bound - Encodes the parts of
AssociatedTyDatum
where the parametersP0..Pm
are in scope (bounds
andwhere_clauses
). - Associated
TyValue - Represents the value of an associated type that is assigned from within some impl.
- Associated
TyValue Bound - Associated
TyValue Id - Identifier for an “associated type value” found in some impl.
- Default
Impl Datum - Default
Impl Datum Bound - Impl
Datum - Impl
Datum Bound - Opaque
TyDatum - Represents the bounds for an
impl Trait
type. - Opaque
TyDatum Bound - Struct
Datum - Struct
Datum Bound - Struct
Flags - Trait
Bound - Represents a trait bound on e.g. a type or type parameter. Does not know anything about what it’s binding.
- Trait
Datum - A rust intermediate representation (rust_ir) of a Trait Definition. For example, given the following rust code:
- Trait
Datum Bound - Trait
Flags
Enums§
- Impl
Type - Inline
Bound - An inline bound, e.g.
: Foo<K>
inimpl<K, T: Foo<K>> SomeType<T>
. - Polarity
- Well
Known Trait - A list of the traits that are “well known” to chalk, which means that the chalk-solve crate has special, hard-coded impls for them.