pub struct CaseExpression {
pub token: Token,
pub value: Option<Box<Expression>>,
pub when_clauses: Vec<WhenClause>,
pub else_value: Option<Box<Expression>>,
}Expand description
CASE expression
Fields§
§token: Token§value: Option<Box<Expression>>§when_clauses: Vec<WhenClause>§else_value: Option<Box<Expression>>Trait Implementations§
Source§impl Clone for CaseExpression
impl Clone for CaseExpression
Source§impl Debug for CaseExpression
impl Debug for CaseExpression
Source§impl Display for CaseExpression
impl Display for CaseExpression
Source§impl PartialEq for CaseExpression
impl PartialEq for CaseExpression
impl StructuralPartialEq for CaseExpression
Auto Trait Implementations§
impl Forget for CaseExpression
impl Freeze for CaseExpression
impl RefUnwindSafe for CaseExpression
impl Send for CaseExpression
impl Sync for CaseExpression
impl Unpin for CaseExpression
impl UnsafeUnpin for CaseExpression
impl UnwindSafe for CaseExpression
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