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]
pub fn simple(
e: PatternNonValuePlace,
a: PatternNonValuePlace,
v: PatternValuePlace
) -> Option<Pattern>
[src]
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]
src: Option<SrcVar>,
e: PatternNonValuePlace,
a: PatternNonValuePlace,
v: PatternValuePlace,
tx: PatternNonValuePlace
) -> Option<Pattern>
Trait Implementations
impl Clone for Pattern
[src]
fn clone(&self) -> Pattern
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Pattern
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for Pattern
[src]
impl PartialEq for Pattern
[src]
fn eq(&self, __arg_0: &Pattern) -> bool
[src]
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]
This method tests for !=
.