pub struct CaseStmt {
pub _type: CaseType,
pub comp_cond: Option<Box<Expression>>,
pub comp_val: Option<Box<Expression>>,
}Fields§
§_type: CaseType§comp_cond: Option<Box<Expression>>This should be Some(…) if the _type is Regular and the WhenExpr.comp_val is Some(…) as well
comp_val: Option<Box<Expression>>This should be None unless the WhenExpr.comp_val is None
Trait Implementations§
impl StructuralPartialEq for CaseStmt
Auto Trait Implementations§
impl Freeze for CaseStmt
impl RefUnwindSafe for CaseStmt
impl Send for CaseStmt
impl Sync for CaseStmt
impl Unpin for CaseStmt
impl UnwindSafe for CaseStmt
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