Struct tree_sitter::QueryProperty
source · [−]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
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.