Type Alias chalk_ir::CanonicalVarKind
source · pub type CanonicalVarKind<I: Interner> = WithKind<I, UniverseIndex>;
Expand description
A variable kind with universe index.
Aliased Type§
struct CanonicalVarKind<I: Interner> {
pub kind: VariableKind<I>,
pub(crate) value: UniverseIndex,
}
Fields§
§kind: VariableKind<I>
The associated variable kind.
value: UniverseIndex
The wrapped value.
Trait Implementations§
source§impl<I: Interner> CastTo<WithKind<I, UniverseIndex>> for CanonicalVarKind<I>
impl<I: Interner> CastTo<WithKind<I, UniverseIndex>> for CanonicalVarKind<I>
source§fn cast_to(
self,
_interner: <CanonicalVarKind<I> as HasInterner>::Interner,
) -> CanonicalVarKind<I>
fn cast_to( self, _interner: <CanonicalVarKind<I> as HasInterner>::Interner, ) -> CanonicalVarKind<I>
Cast a value to type
T
.