Module state

Source

Modulesยง

types ๐Ÿ”’

Macrosยง

__inner_helper ๐Ÿ”’
__inner_helper ๐Ÿ”’
__inner_helper ๐Ÿ”’
__inner_helper ๐Ÿ”’
__inner_helper ๐Ÿ”’
mk ๐Ÿ”’
mk_aux ๐Ÿ”’
mk_is_state_trait ๐Ÿ”’

Structsยง

Base
FullDefMapper
Defines a mapping from types to types, for use with TypeMap.
GlobalCache
Global caches
ItemCache
Per-item cache
LocalContextS
PromotedFullDefsMapper
Defines a mapping from types to types, for use with TypeMap.
State

Traitsยง

HasBase
HasBaseSetter
HasBinder
HasBinderSetter
HasMir
HasMirSetter
HasOwnerId
HasOwnerIdSetter
HasThir
HasThirSetter
WithGlobalCacheExt
WithItemCacheExt

Functionsยง

impl_def_ids_to_impled_types_and_bounds
Returns a map from every implementation (Impl) DefIds to the type they implement, plus the bounds.
with_owner_id
Updates the OnwerId in a state, making sure to override opt_def_id in base as well.

Type Aliasesยง

MacroCalls
RcMir
RcThir
StateWithBase
StateWithBinder
StateWithMir
StateWithOwner
StateWithThir
UnitBinder

Trait Aliasesยง

BaseState
ExprState
While translating expressions, we expect to always have a THIR body and an owner_id in the state
IsState
UnderBinderState
State of anything below a binder.
UnderOwnerState
State of anything below a owner_id.