pub struct HaskellGuard {
pub condition: HaskellExpr,
pub body: HaskellExpr,
}Expand description
A single guard in a function equation or case alternative.
Fields§
§condition: HaskellExpr§body: HaskellExprTrait Implementations§
Source§impl Clone for HaskellGuard
impl Clone for HaskellGuard
Source§fn clone(&self) -> HaskellGuard
fn clone(&self) -> HaskellGuard
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 HaskellGuard
impl Debug for HaskellGuard
Source§impl PartialEq for HaskellGuard
impl PartialEq for HaskellGuard
impl StructuralPartialEq for HaskellGuard
Auto Trait Implementations§
impl Freeze for HaskellGuard
impl RefUnwindSafe for HaskellGuard
impl Send for HaskellGuard
impl Sync for HaskellGuard
impl Unpin for HaskellGuard
impl UnsafeUnpin for HaskellGuard
impl UnwindSafe for HaskellGuard
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