Struct edn::query::Pattern
[−]
[src]
pub struct Pattern { pub source: Option<SrcVar>, pub entity: PatternNonValuePlace, pub attribute: PatternNonValuePlace, pub value: PatternValuePlace, pub tx: PatternNonValuePlace, }
Fields
source: Option<SrcVar>
entity: PatternNonValuePlace
attribute: PatternNonValuePlace
value: PatternValuePlace
tx: PatternNonValuePlace
Methods
impl Pattern
[src]
impl Pattern
pub fn simple(
e: PatternNonValuePlace,
a: PatternNonValuePlace,
v: PatternValuePlace
) -> Option<Pattern>
[src]
pub fn simple(
e: PatternNonValuePlace,
a: PatternNonValuePlace,
v: PatternValuePlace
) -> Option<Pattern>
pub fn new(
src: Option<SrcVar>,
e: PatternNonValuePlace,
a: PatternNonValuePlace,
v: PatternValuePlace,
tx: PatternNonValuePlace
) -> Option<Pattern>
[src]
pub fn new(
src: Option<SrcVar>,
e: PatternNonValuePlace,
a: PatternNonValuePlace,
v: PatternValuePlace,
tx: PatternNonValuePlace
) -> Option<Pattern>
Trait Implementations
impl Clone for Pattern
[src]
impl Clone for Pattern
fn clone(&self) -> Pattern
[src]
fn clone(&self) -> Pattern
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 Pattern
[src]
impl Debug for Pattern
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 Pattern
[src]
impl Eq for Pattern
impl PartialEq for Pattern
[src]
impl PartialEq for Pattern
fn eq(&self, __arg_0: &Pattern) -> bool
[src]
fn eq(&self, __arg_0: &Pattern) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Pattern) -> bool
[src]
fn ne(&self, __arg_0: &Pattern) -> bool
This method tests for !=
.
impl ContainsVariables for Pattern
[src]
impl ContainsVariables for Pattern
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>