Struct edn::query::OrJoin
[−]
[src]
pub struct OrJoin { pub unify_vars: UnifyVars, pub clauses: Vec<OrWhereClause>, // some fields omitted }
Fields
unify_vars: UnifyVars
clauses: Vec<OrWhereClause>
Methods
impl OrJoin
[src]
impl OrJoin
pub fn new(unify_vars: UnifyVars, clauses: Vec<OrWhereClause>) -> OrJoin
[src]
pub fn new(unify_vars: UnifyVars, clauses: Vec<OrWhereClause>) -> OrJoin
pub fn is_fully_unified(&self) -> bool
[src]
pub fn is_fully_unified(&self) -> bool
Return true if either the OrJoin
is UnifyVars::Implicit
, or if
every variable mentioned inside the join is also mentioned in the UnifyVars
list.
impl OrJoin
[src]
impl OrJoin
pub fn dismember(self) -> (Vec<OrWhereClause>, UnifyVars, BTreeSet<Variable>)
[src]
pub fn dismember(self) -> (Vec<OrWhereClause>, UnifyVars, BTreeSet<Variable>)
pub fn mentioned_variables<'a>(&'a mut self) -> &'a BTreeSet<Variable>
[src]
pub fn mentioned_variables<'a>(&'a mut self) -> &'a BTreeSet<Variable>
Trait Implementations
impl Clone for OrJoin
[src]
impl Clone for OrJoin
fn clone(&self) -> OrJoin
[src]
fn clone(&self) -> OrJoin
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for OrJoin
[src]
impl Debug for OrJoin
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 Eq for OrJoin
[src]
impl Eq for OrJoin
impl PartialEq for OrJoin
[src]
impl PartialEq for OrJoin
fn eq(&self, __arg_0: &OrJoin) -> bool
[src]
fn eq(&self, __arg_0: &OrJoin) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &OrJoin) -> bool
[src]
fn ne(&self, __arg_0: &OrJoin) -> bool
This method tests for !=
.
impl ContainsVariables for OrJoin
[src]
impl ContainsVariables for OrJoin
fn accumulate_mentioned_variables(&self, acc: &mut BTreeSet<Variable>)
[src]
fn accumulate_mentioned_variables(&self, acc: &mut BTreeSet<Variable>)
fn collect_mentioned_variables(&self) -> BTreeSet<Variable>
[src]
fn collect_mentioned_variables(&self) -> BTreeSet<Variable>