Struct edn::query::Predicate
[−]
[src]
pub struct Predicate { pub operator: PlainSymbol, pub args: Vec<FnArg>, }
Fields
operator: PlainSymbol
args: Vec<FnArg>
Trait Implementations
impl Clone for Predicate
[src]
impl Clone for Predicate
fn clone(&self) -> Predicate
[src]
fn clone(&self) -> Predicate
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 Predicate
[src]
impl Debug for Predicate
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 Predicate
[src]
impl Eq for Predicate
impl PartialEq for Predicate
[src]
impl PartialEq for Predicate
fn eq(&self, __arg_0: &Predicate) -> bool
[src]
fn eq(&self, __arg_0: &Predicate) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Predicate) -> bool
[src]
fn ne(&self, __arg_0: &Predicate) -> bool
This method tests for !=
.
impl ContainsVariables for Predicate
[src]
impl ContainsVariables for Predicate
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>