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