pub enum CondItem {
Let {
pattern: Pat,
mode: Mode,
value: Expr,
},
Bool(Expr),
}Expand description
One item of the condition of an if let or a while let, joined to the others by && (spec
chapter 3, section 5, rule 14a).
Variants§
Implementations§
Trait Implementations§
impl StructuralPartialEq for CondItem
Auto Trait Implementations§
impl Freeze for CondItem
impl RefUnwindSafe for CondItem
impl Send for CondItem
impl Sync for CondItem
impl Unpin for CondItem
impl UnsafeUnpin for CondItem
impl UnwindSafe for CondItem
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