pub enum GuardClause {
Wildcard(Node),
Expression(Expression),
}
Variants§
Wildcard(Node)
Expression(Expression)
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 moreAuto 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