pub struct WhenExpr {
pub comp_val: Option<Box<Expression>>,
pub cases: Vec<CaseStmt>,
}Fields§
§comp_val: Option<Box<Expression>>§cases: Vec<CaseStmt>Trait Implementations§
impl StructuralPartialEq for WhenExpr
Auto Trait Implementations§
impl Freeze for WhenExpr
impl RefUnwindSafe for WhenExpr
impl Send for WhenExpr
impl Sync for WhenExpr
impl Unpin for WhenExpr
impl UnwindSafe for WhenExpr
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