pub enum LeafKind {
FloatColFloatLit {
col_idx: usize,
lit: f64,
},
FloatColIntLit {
col_idx: usize,
lit: i64,
},
IntColIntLit {
col_idx: usize,
lit: i64,
},
IntColFloatLit {
col_idx: usize,
lit: f64,
},
}Expand description
One leaf comparison, fully resolved at lowering time.
The four variants correspond to the four arms in
try_eval_predicate_columnar: a Float column compared to a float literal,
a Float column compared to an int literal (literal promoted to f64), an
Int column compared to an int literal, or an Int column compared to a float
literal (column promoted to f64 at run time).
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LeafKind
impl RefUnwindSafe for LeafKind
impl Send for LeafKind
impl Sync for LeafKind
impl Unpin for LeafKind
impl UnsafeUnpin for LeafKind
impl UnwindSafe for LeafKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more