Struct stc_ts_type_cache::cache_map::CacheMap
source · [−]pub struct CacheMap<K, V, M>where
K: TypeEq,
V: Freeze,
M: CacheMode<K>,{
data: Vec<(K, V)>,
_marker: PhantomData<M>,
}
Fields
data: Vec<(K, V)>
_marker: PhantomData<M>
Implementations
Trait Implementations
Auto Trait Implementations
impl<K, V, M> RefUnwindSafe for CacheMap<K, V, M>where
K: RefUnwindSafe,
M: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V, M> Send for CacheMap<K, V, M>where
K: Send,
M: Send,
V: Send,
impl<K, V, M> Sync for CacheMap<K, V, M>where
K: Sync,
M: Sync,
V: Sync,
impl<K, V, M> Unpin for CacheMap<K, V, M>where
K: Unpin,
M: Unpin,
V: Unpin,
impl<K, V, M> UnwindSafe for CacheMap<K, V, M>where
K: UnwindSafe,
M: UnwindSafe,
V: UnwindSafe,
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