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 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 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
impl Eq for GuardClause
impl StructuralPartialEq for GuardClause
Auto Trait Implementations§
impl Freeze for GuardClause
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