pub struct InferCacheEntry {
pub expr: Expr,
pub ty: Expr,
}Expand description
A cache entry for type inference results.
Fields§
§expr: ExprThe expression whose type was inferred.
ty: ExprThe inferred type.
Trait Implementations§
Source§impl Clone for InferCacheEntry
impl Clone for InferCacheEntry
Auto Trait Implementations§
impl !Send for InferCacheEntry
impl !Sync for InferCacheEntry
impl Forget for InferCacheEntry
impl Freeze for InferCacheEntry
impl Move for InferCacheEntry
impl RefUnwindSafe for InferCacheEntry
impl Unpin for InferCacheEntry
impl UnsafeUnpin for InferCacheEntry
impl UnwindSafe for InferCacheEntry
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