pub enum HaskellDoStmt {
Bind(String, HaskellExpr),
Stmt(HaskellExpr),
LetBind(String, HaskellExpr),
}Expand description
A statement inside a do block.
Variants§
Bind(String, HaskellExpr)
x <- action
Stmt(HaskellExpr)
action (discard result)
LetBind(String, HaskellExpr)
let x = expr inside do
Trait Implementations§
Source§impl Clone for HaskellDoStmt
impl Clone for HaskellDoStmt
Source§fn clone(&self) -> HaskellDoStmt
fn clone(&self) -> HaskellDoStmt
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HaskellDoStmt
impl Debug for HaskellDoStmt
Source§impl PartialEq for HaskellDoStmt
impl PartialEq for HaskellDoStmt
impl StructuralPartialEq for HaskellDoStmt
Auto Trait Implementations§
impl Freeze for HaskellDoStmt
impl RefUnwindSafe for HaskellDoStmt
impl Send for HaskellDoStmt
impl Sync for HaskellDoStmt
impl Unpin for HaskellDoStmt
impl UnsafeUnpin for HaskellDoStmt
impl UnwindSafe for HaskellDoStmt
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