pub struct LetDef {
pub pos: Position,
pub name: Token,
pub value: Expression,
}
Expand description
Encodes a let statement in the UCG AST.
Fields§
§pos: Position
§name: Token
§value: Expression
Trait Implementations§
impl StructuralPartialEq for LetDef
Auto Trait Implementations§
impl Freeze for LetDef
impl RefUnwindSafe for LetDef
impl !Send for LetDef
impl !Sync for LetDef
impl Unpin for LetDef
impl UnwindSafe for LetDef
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