Enum kip_sql::expression::simplify::ConstantBinary
source · pub enum ConstantBinary {
Scope {
min: Bound<ValueRef>,
max: Bound<ValueRef>,
},
Eq(ValueRef),
NotEq(ValueRef),
And(Vec<ConstantBinary>),
Or(Vec<ConstantBinary>),
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for ConstantBinary
impl Clone for ConstantBinary
source§fn clone(&self) -> ConstantBinary
fn clone(&self) -> ConstantBinary
Returns a copy of the value. Read more
1.0.0 · 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 ConstantBinary
impl Debug for ConstantBinary
source§impl Hash for ConstantBinary
impl Hash for ConstantBinary
source§impl PartialEq for ConstantBinary
impl PartialEq for ConstantBinary
source§fn eq(&self, other: &ConstantBinary) -> bool
fn eq(&self, other: &ConstantBinary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ConstantBinary
impl StructuralEq for ConstantBinary
impl StructuralPartialEq for ConstantBinary
Auto Trait Implementations§
impl RefUnwindSafe for ConstantBinary
impl Send for ConstantBinary
impl Sync for ConstantBinary
impl Unpin for ConstantBinary
impl UnwindSafe for ConstantBinary
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.