Struct tree_sitter::QueryPredicate
source · 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§
source§impl Debug for QueryPredicate
impl Debug for QueryPredicate
source§impl PartialEq<QueryPredicate> for QueryPredicate
impl PartialEq<QueryPredicate> for QueryPredicate
source§fn eq(&self, other: &QueryPredicate) -> bool
fn eq(&self, other: &QueryPredicate) -> bool
This method tests for
self and other values to be equal, and is used
by ==.