pub struct NodeEntry {
pub name: ScopedName,
pub type_ann: TypeExpr,
pub expr: Expr,
pub span: Span,
pub src: BodySource,
}Expand description
A node declaration with type annotation and lowered body.
Fields§
§name: ScopedName§type_ann: TypeExpr§expr: Expr§span: Span§src: BodySourceSource provenance of span; see ConstEntry::src (#868).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NodeEntry
impl RefUnwindSafe for NodeEntry
impl Send for NodeEntry
impl Sync for NodeEntry
impl Unpin for NodeEntry
impl UnsafeUnpin for NodeEntry
impl UnwindSafe for NodeEntry
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