pub enum SelectExpr {
Binsof {
cp: String,
bin: Option<String>,
intersect: Option<Vec<RangeItem>>,
},
Not(Box<SelectExpr>),
And(Box<SelectExpr>, Box<SelectExpr>),
Or(Box<SelectExpr>, Box<SelectExpr>),
With {
sel: Box<SelectExpr>,
expr: Expr,
matches: Matches,
},
All,
Set {
expr: Expr,
matches: Matches,
},
}Expand description
A select_expression (Syntax 19-4).
Variants§
Binsof
binsof(cp) / binsof(cp.bin), optionally intersect { ranges }.
bin names one bin, or a whole b[] / b[N] array by its base name.
Not(Box<SelectExpr>)
And(Box<SelectExpr>, Box<SelectExpr>)
Or(Box<SelectExpr>, Box<SelectExpr>)
With
sel with (expr) [matches ...]. The kernel receives the constructor
arguments followed by one value per cross item, in item order.
All
The enclosing cross’s own identifier: every bin tuple.
Set
cross_set_expression [matches ...]: evaluates to a
super::value::Val::List of tuples (each a Val::List with one value
per cross item), 19.6.1.4.
Trait Implementations§
Source§impl Clone for SelectExpr
impl Clone for SelectExpr
Source§impl Debug for SelectExpr
impl Debug for SelectExpr
Source§impl PartialEq for SelectExpr
impl PartialEq for SelectExpr
impl StructuralPartialEq for SelectExpr
Auto Trait Implementations§
impl Freeze for SelectExpr
impl RefUnwindSafe for SelectExpr
impl Send for SelectExpr
impl Sync for SelectExpr
impl Unpin for SelectExpr
impl UnsafeUnpin for SelectExpr
impl UnwindSafe for SelectExpr
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