Struct stc_ts_type_cache::TypeCache
source · [−]pub struct TypeCache {
pub expand_mapped: CacheMap<Mapped, Option<Type>, NoRefInKey>,
pub keyof_type_lit: CacheMap<Type, Type, NoRevoke>,
}
Expand description
TODO(kdy1): pub expand_cache: CacheMap<(RTsEntityName,
Option
Fields
expand_mapped: CacheMap<Mapped, Option<Type>, NoRefInKey>
keyof_type_lit: CacheMap<Type, Type, NoRevoke>
Key should be Type::Arc of Type::TypeLit.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TypeCache
impl Send for TypeCache
impl Sync for TypeCache
impl Unpin for TypeCache
impl UnwindSafe for TypeCache
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more