pub struct SelectSpan {
pub expr: Expr,
pub cases: Vec<CaseSpan>,
pub end_pos: LineCol,
}
Expand description
Components of a SELECT
statement.
Fields§
§expr: Expr
Expression to test for.
cases: Vec<CaseSpan>
Representation of the cases to select from. The final CASE ELSE
, if present, is also
included here without any guards.
end_pos: LineCol
Position of the END SELECT
statement.
Trait Implementations§
Source§impl Debug for SelectSpan
impl Debug for SelectSpan
Source§impl PartialEq for SelectSpan
impl PartialEq for SelectSpan
impl StructuralPartialEq for SelectSpan
Auto Trait Implementations§
impl Freeze for SelectSpan
impl RefUnwindSafe for SelectSpan
impl Send for SelectSpan
impl Sync for SelectSpan
impl Unpin for SelectSpan
impl UnwindSafe for SelectSpan
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