Enum vortex_expr::Value
source · pub enum Value {
Field(FieldPath),
Literal(Scalar),
}
Variants§
Field(FieldPath)
A named reference to a qualified field in a dtype.
Literal(Scalar)
A constant scalar value.
Implementations§
source§impl Value
impl Value
pub fn eq(self, field: impl Into<FieldPath>) -> Predicate
pub fn not_eq(self, field: impl Into<FieldPath>) -> Predicate
pub fn gt(self, field: impl Into<FieldPath>) -> Predicate
pub fn gte(self, field: impl Into<FieldPath>) -> Predicate
pub fn lt(self, field: impl Into<FieldPath>) -> Predicate
pub fn lte(self, field: impl Into<FieldPath>) -> Predicate
Trait Implementations§
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl !Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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