Enum gluon_parser::ReplLine
source · pub enum ReplLine<'ast, Id> {
Expr(SpannedExpr<'ast, Id>),
Let(&'ast mut ValueBinding<'ast, Id>),
}
Variants§
Expr(SpannedExpr<'ast, Id>)
Let(&'ast mut ValueBinding<'ast, Id>)
Trait Implementations§
source§impl<'ast, Id: PartialEq> PartialEq<ReplLine<'ast, Id>> for ReplLine<'ast, Id>
impl<'ast, Id: PartialEq> PartialEq<ReplLine<'ast, Id>> for ReplLine<'ast, Id>
impl<'ast, Id> StructuralPartialEq for ReplLine<'ast, Id>
Auto Trait Implementations§
impl<'ast, Id> RefUnwindSafe for ReplLine<'ast, Id>where Id: RefUnwindSafe,
impl<'ast, Id> Send for ReplLine<'ast, Id>where Id: Send + Sync,
impl<'ast, Id> Sync for ReplLine<'ast, Id>where Id: Send + Sync,
impl<'ast, Id> Unpin for ReplLine<'ast, Id>where Id: Unpin,
impl<'ast, Id> !UnwindSafe for ReplLine<'ast, Id>
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