pub struct InferCache { /* private fields */ }Expand description
A simple LRU-style type inference cache.
In practice, this is a bounded list of recent (expr → type) pairs.
Implementations§
Source§impl InferCache
impl InferCache
Auto Trait Implementations§
impl Freeze for InferCache
impl RefUnwindSafe for InferCache
impl Send for InferCache
impl Sync for InferCache
impl Unpin for InferCache
impl UnsafeUnpin for InferCache
impl UnwindSafe for InferCache
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more