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]
impl ColumnAlternation
pub fn add_alternate(&mut self, intersection: ColumnIntersection)
[src]
pub fn add_alternate(&mut self, intersection: ColumnIntersection)
Trait Implementations
impl PartialEq for ColumnAlternation
[src]
impl PartialEq for ColumnAlternation
fn eq(&self, __arg_0: &ColumnAlternation) -> bool
[src]
fn eq(&self, __arg_0: &ColumnAlternation) -> bool
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]
fn ne(&self, __arg_0: &ColumnAlternation) -> bool
This method tests for !=
.
impl Eq for ColumnAlternation
[src]
impl Eq for ColumnAlternation
impl Debug for ColumnAlternation
[src]
impl Debug for ColumnAlternation
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for ColumnAlternation
[src]
impl Default for ColumnAlternation
impl IntoIterator for ColumnAlternation
[src]
impl IntoIterator for ColumnAlternation
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]
fn into_iter(self) -> Self::IntoIter
Creates an iterator from a value. Read more
Auto Trait Implementations
impl !Send for ColumnAlternation
impl !Send for ColumnAlternation
impl !Sync for ColumnAlternation
impl !Sync for ColumnAlternation