Struct mentat_query_algebrizer::ColumnIntersection
[−]
[src]
pub struct ColumnIntersection(pub Vec<ColumnConstraintOrAlternation>);
A ColumnIntersection
constraint is satisfied if all of its inner constraints are satisfied.
An empty intersection is always satisfied.
Methods
impl ColumnIntersection
[src]
impl ColumnIntersection
pub fn len(&self) -> usize
[src]
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
[src]
pub fn is_empty(&self) -> bool
pub fn add(&mut self, constraint: ColumnConstraintOrAlternation)
[src]
pub fn add(&mut self, constraint: ColumnConstraintOrAlternation)
pub fn add_intersection(&mut self, constraint: ColumnConstraint)
[src]
pub fn add_intersection(&mut self, constraint: ColumnConstraint)
pub fn append(&mut self, other: &mut Self)
[src]
pub fn append(&mut self, other: &mut Self)
Trait Implementations
impl PartialEq for ColumnIntersection
[src]
impl PartialEq for ColumnIntersection
fn eq(&self, __arg_0: &ColumnIntersection) -> bool
[src]
fn eq(&self, __arg_0: &ColumnIntersection) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ColumnIntersection) -> bool
[src]
fn ne(&self, __arg_0: &ColumnIntersection) -> bool
This method tests for !=
.
impl Eq for ColumnIntersection
[src]
impl Eq for ColumnIntersection
impl From<Vec<ColumnConstraint>> for ColumnIntersection
[src]
impl From<Vec<ColumnConstraint>> for ColumnIntersection
fn from(thing: Vec<ColumnConstraint>) -> Self
[src]
fn from(thing: Vec<ColumnConstraint>) -> Self
Performs the conversion.
impl Default for ColumnIntersection
[src]
impl Default for ColumnIntersection
impl IntoIterator for ColumnIntersection
[src]
impl IntoIterator for ColumnIntersection
type Item = ColumnConstraintOrAlternation
The type of the elements being iterated over.
type IntoIter = IntoIter<ColumnConstraintOrAlternation>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
fn into_iter(self) -> Self::IntoIter
Creates an iterator from a value. Read more
impl Debug for ColumnIntersection
[src]
impl Debug for ColumnIntersection
Auto Trait Implementations
impl !Send for ColumnIntersection
impl !Send for ColumnIntersection
impl !Sync for ColumnIntersection
impl !Sync for ColumnIntersection