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]
pub fn len(&self) -> usize
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn add(&mut self, constraint: ColumnConstraintOrAlternation)
[src]
pub fn add_intersection(&mut self, constraint: ColumnConstraint)
[src]
pub fn append(&mut self, other: &mut Self)
[src]
Trait Implementations
impl PartialEq for ColumnIntersection
[src]
fn eq(&self, __arg_0: &ColumnIntersection) -> bool
[src]
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]
This method tests for !=
.
impl Eq for ColumnIntersection
[src]
impl From<Vec<ColumnConstraint>> for ColumnIntersection
[src]
fn from(thing: Vec<ColumnConstraint>) -> Self
[src]
Performs the conversion.
impl Default for ColumnIntersection
[src]
impl IntoIterator for ColumnIntersection
[src]
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]
Creates an iterator from a value. Read more