Struct rustc_infer::traits::ProjectionCacheStorage [−][src]
pub struct ProjectionCacheStorage<'tcx> {
map: SnapshotMapStorage<ProjectionCacheKey<'tcx>, ProjectionCacheEntry<'tcx>>,
}Fields
map: SnapshotMapStorage<ProjectionCacheKey<'tcx>, ProjectionCacheEntry<'tcx>>Implementations
impl<'tcx> ProjectionCacheStorage<'tcx>[src]
impl<'tcx> ProjectionCacheStorage<'tcx>[src]pub(crate) fn with_log<'a>(
&'a mut self,
undo_log: &'a mut InferCtxtUndoLogs<'tcx>
) -> ProjectionCache<'a, 'tcx>[src]
&'a mut self,
undo_log: &'a mut InferCtxtUndoLogs<'tcx>
) -> ProjectionCache<'a, 'tcx>
Trait Implementations
impl<'tcx> Default for ProjectionCacheStorage<'tcx>[src]
impl<'tcx> Default for ProjectionCacheStorage<'tcx>[src]fn default() -> ProjectionCacheStorage<'tcx>[src]
fn default() -> ProjectionCacheStorage<'tcx>[src]Returns the “default value” for a type. Read more
impl<'tcx> Rollback<UndoLog<ProjectionCacheKey<'tcx>, ProjectionCacheEntry<'tcx>>> for ProjectionCacheStorage<'tcx>[src]
impl<'tcx> Rollback<UndoLog<ProjectionCacheKey<'tcx>, ProjectionCacheEntry<'tcx>>> for ProjectionCacheStorage<'tcx>[src]fn reverse(
&mut self,
undo: UndoLog<ProjectionCacheKey<'tcx>, ProjectionCacheEntry<'tcx>>
)[src]
&mut self,
undo: UndoLog<ProjectionCacheKey<'tcx>, ProjectionCacheEntry<'tcx>>
)
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for ProjectionCacheStorage<'tcx>
impl<'tcx> !Send for ProjectionCacheStorage<'tcx>
impl<'tcx> !Sync for ProjectionCacheStorage<'tcx>
impl<'tcx> Unpin for ProjectionCacheStorage<'tcx>
impl<'tcx> !UnwindSafe for ProjectionCacheStorage<'tcx>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> WithConstness for T[src]
impl<T> WithConstness for T[src]fn with_constness(self, constness: Constness) -> ConstnessAnd<Self>[src]
fn with_const(self) -> ConstnessAnd<Self>[src]
fn without_const(self) -> ConstnessAnd<Self>[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,