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
Source§fn clone(&self) -> TypingJudgment
fn clone(&self) -> TypingJudgment
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 TypingJudgment
impl RefUnwindSafe for TypingJudgment
impl Send for TypingJudgment
impl Sync 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