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§fn clone(&self) -> CaseExpression
fn clone(&self) -> CaseExpression
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 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 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