Struct tree_sitter::QueryCapture
source · #[repr(C)]pub struct QueryCapture<'a> {
pub node: Node<'a>,
pub index: u32,
}
Expand description
A particular Node
that has been captured with a particular name within a Query
.
Fields§
§node: Node<'a>
§index: u32
Trait Implementations§
source§impl<'a> Clone for QueryCapture<'a>
impl<'a> Clone for QueryCapture<'a>
source§fn clone(&self) -> QueryCapture<'a>
fn clone(&self) -> QueryCapture<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more