pub struct TypingJudgment {
pub expr: Expr,
pub ty: Expr,
pub success: bool,
}Expand description
A typing judgment: an expression with its inferred type.
Fields§
§expr: ExprThe expression.
ty: ExprThe inferred type.
success: boolWhether the inference was successful.
Implementations§
Trait Implementations§
Source§impl Clone for TypingJudgment
impl Clone for TypingJudgment
Auto Trait Implementations§
impl !Send for TypingJudgment
impl !Sync for TypingJudgment
impl Forget for TypingJudgment
impl Freeze for TypingJudgment
impl Move for TypingJudgment
impl RefUnwindSafe for TypingJudgment
impl Unpin for TypingJudgment
impl UnsafeUnpin for TypingJudgment
impl UnwindSafe for TypingJudgment
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