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