Enum tree_sitter::QueryPredicateArg
source · pub enum QueryPredicateArg {
Capture(u32),
String(Box<str>),
}
Variants§
Trait Implementations§
source§impl Debug for QueryPredicateArg
impl Debug for QueryPredicateArg
source§impl PartialEq<QueryPredicateArg> for QueryPredicateArg
impl PartialEq<QueryPredicateArg> for QueryPredicateArg
source§fn eq(&self, other: &QueryPredicateArg) -> bool
fn eq(&self, other: &QueryPredicateArg) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.