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
Source§fn clone(&self) -> InferCacheEntry
fn clone(&self) -> InferCacheEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InferCacheEntry
impl RefUnwindSafe for InferCacheEntry
impl Send for InferCacheEntry
impl Sync 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