Skip to main content

Module const_kind

Module const_kind 

Source

Re-exportsยง

use std::fmt; ๐Ÿ”’
use derive_where::derive_where; ๐Ÿ”’
use rustc_data_structures::stable_hash::StableHash; ๐Ÿ”’
use rustc_data_structures::stable_hash::StableHashCtxt; ๐Ÿ”’
use rustc_data_structures::stable_hash::StableHasher; ๐Ÿ”’
use rustc_macros::Decodable_NoContext; ๐Ÿ”’
use rustc_macros::Encodable_NoContext; ๐Ÿ”’
use rustc_macros::StableHash; ๐Ÿ”’
use rustc_macros::StableHash_NoContext; ๐Ÿ”’
use rustc_type_ir_macros::GenericTypeVisitable; ๐Ÿ”’
use rustc_type_ir_macros::Lift_Generic; ๐Ÿ”’
use rustc_type_ir_macros::TypeFoldable_Generic; ๐Ÿ”’
use rustc_type_ir_macros::TypeVisitable_Generic; ๐Ÿ”’
use crate as ty; ๐Ÿ”’
use crate::AliasConst; ๐Ÿ”’
use crate::BoundVarIndexKind; ๐Ÿ”’
use crate::Interner; ๐Ÿ”’

Structsยง

ConstVid
A const variable ID.

Enumsยง

AliasConstKind
AliasConstKind is extremely similar to AliasTyKind, and likely should be reasoned about and handled in very similar ways. The documentation for AliasTyKind/etc. may be helpful when learning about AliasConstKind.
AnonConstKind
ConstKind
Represents a constant in Rust.
InferConst
An inference variable for a const, for use in const generics.
ValTreeKind
This datastructure is used to represent the value of constants used in the type system.