pub enum WhileCondition {
Expression(Box<Expr>),
Let(Pattern, Box<Expr>),
}Variants§
Trait Implementations§
Source§impl Clone for WhileCondition
impl Clone for WhileCondition
Source§fn clone(&self) -> WhileCondition
fn clone(&self) -> WhileCondition
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 WhileCondition
impl Debug for WhileCondition
Source§impl PartialEq for WhileCondition
impl PartialEq for WhileCondition
impl StructuralPartialEq for WhileCondition
Auto Trait Implementations§
impl Freeze for WhileCondition
impl RefUnwindSafe for WhileCondition
impl Send for WhileCondition
impl Sync for WhileCondition
impl Unpin for WhileCondition
impl UnwindSafe for WhileCondition
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