Struct mentat_query_algebrizer::ColumnAlternation
[−]
[src]
pub struct ColumnAlternation(pub Vec<ColumnIntersection>);
A ColumnAlternation
constraint is satisfied if at least one of its inner constraints is
satisfied. An empty ColumnAlternation
is never satisfied.
Methods
impl ColumnAlternation
[src]
pub fn add_alternate(&mut self, intersection: ColumnIntersection)
[src]
Trait Implementations
impl PartialEq for ColumnAlternation
[src]
fn eq(&self, __arg_0: &ColumnAlternation) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ColumnAlternation) -> bool
[src]
This method tests for !=
.
impl Eq for ColumnAlternation
[src]
impl Debug for ColumnAlternation
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Default for ColumnAlternation
[src]
impl IntoIterator for ColumnAlternation
[src]
type Item = ColumnIntersection
The type of the elements being iterated over.
type IntoIter = IntoIter<ColumnIntersection>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
Creates an iterator from a value. Read more