pub struct ExprNode {
pub kind: ExprKind,
pub source_span: SourceSpan,
pub type_annotation: Option<TypeName>,
}Expand description
A single expression node stripped of its inferred type.
Child expressions are referenced by ExprId rather than owned.
Fields§
§kind: ExprKind§source_span: SourceSpan§type_annotation: Option<TypeName>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExprNode
impl RefUnwindSafe for ExprNode
impl Send for ExprNode
impl Sync for ExprNode
impl Unpin for ExprNode
impl UnsafeUnpin for ExprNode
impl UnwindSafe for ExprNode
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