Struct tree_sitter::QueryCapture
source · #[repr(C)]pub struct QueryCapture<'tree> {
pub node: Node<'tree>,
pub index: u32,
}
Fields§
§node: Node<'tree>
§index: u32
Trait Implementations§
source§impl<'tree> Clone for QueryCapture<'tree>
impl<'tree> Clone for QueryCapture<'tree>
source§fn clone(&self) -> QueryCapture<'tree>
fn clone(&self) -> QueryCapture<'tree>
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 moresource§impl<'tree> Debug for QueryCapture<'tree>
impl<'tree> Debug for QueryCapture<'tree>
impl<'tree> Copy for QueryCapture<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for QueryCapture<'tree>
impl<'tree> RefUnwindSafe for QueryCapture<'tree>
impl<'tree> Send for QueryCapture<'tree>
impl<'tree> Sync for QueryCapture<'tree>
impl<'tree> Unpin for QueryCapture<'tree>
impl<'tree> UnwindSafe for QueryCapture<'tree>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more