Enum erg_compiler::hir::GuardClause
source · pub enum GuardClause {
Condition(Expr),
Bind(Def),
}
Variants§
Trait Implementations§
source§impl Clone for GuardClause
impl Clone for GuardClause
source§fn clone(&self) -> GuardClause
fn clone(&self) -> GuardClause
Returns a copy 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 GuardClause
impl Debug for GuardClause
source§impl Display for GuardClause
impl Display for GuardClause
source§impl Hash for GuardClause
impl Hash for GuardClause
source§impl NestedDisplay for GuardClause
impl NestedDisplay for GuardClause
source§impl NoTypeDisplay for GuardClause
impl NoTypeDisplay for GuardClause
fn to_string_notype(&self) -> String
source§impl PartialEq for GuardClause
impl PartialEq for GuardClause
source§fn eq(&self, other: &GuardClause) -> bool
fn eq(&self, other: &GuardClause) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GuardClause
impl StructuralEq for GuardClause
impl StructuralPartialEq for GuardClause
Auto Trait Implementations§
impl RefUnwindSafe for GuardClause
impl Send for GuardClause
impl Sync for GuardClause
impl Unpin for GuardClause
impl UnwindSafe for GuardClause
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