Struct tree_sitter::QueryPredicate [−][src]
pub struct QueryPredicate {
pub operator: Box<str>,
pub args: Vec<QueryPredicateArg>,
}Expand description
A key-value pair associated with a particular pattern in a Query.
Fields
operator: Box<str>args: Vec<QueryPredicateArg>Trait Implementations
impl Debug for QueryPredicate[src]
impl Debug for QueryPredicate[src]impl PartialEq<QueryPredicate> for QueryPredicate[src]
impl PartialEq<QueryPredicate> for QueryPredicate[src]fn eq(&self, other: &QueryPredicate) -> bool[src]
fn eq(&self, other: &QueryPredicate) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &QueryPredicate) -> bool[src]
fn ne(&self, other: &QueryPredicate) -> bool[src]This method tests for !=.