#[non_exhaustive]pub enum ListPredKind {
Any,
All,
None,
Single,
}Expand description
Discriminant for Expr::ListPredicate (cy-8x5, spec §19 row
“List predicates”). Mirrors cyrs_hir::ListPredKind at the plan
layer so the HIR is not leaked across the plan boundary.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Any
ANY(v IN xs WHERE p) — at least one element matches.
All
ALL(v IN xs WHERE p) — every element matches.
None
NONE(v IN xs WHERE p) — no element matches.
Single
SINGLE(v IN xs WHERE p) — exactly one element matches.
Trait Implementations§
Source§impl Clone for ListPredKind
impl Clone for ListPredKind
Source§fn clone(&self) -> ListPredKind
fn clone(&self) -> ListPredKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ListPredKind
impl Debug for ListPredKind
Source§impl<'de> Deserialize<'de> for ListPredKind
impl<'de> Deserialize<'de> for ListPredKind
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for ListPredKind
impl Hash for ListPredKind
Source§impl PartialEq for ListPredKind
impl PartialEq for ListPredKind
Source§fn eq(&self, other: &ListPredKind) -> bool
fn eq(&self, other: &ListPredKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ListPredKind
impl Serialize for ListPredKind
impl Copy for ListPredKind
impl Eq for ListPredKind
impl StructuralPartialEq for ListPredKind
Auto Trait Implementations§
impl Freeze for ListPredKind
impl RefUnwindSafe for ListPredKind
impl Send for ListPredKind
impl Sync for ListPredKind
impl Unpin for ListPredKind
impl UnsafeUnpin for ListPredKind
impl UnwindSafe for ListPredKind
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.