pub struct QueryCursor<'a, 'tree, I: Input> { /* private fields */ }Implementations§
Source§impl<'tree, I: Input> QueryCursor<'_, 'tree, I>
impl<'tree, I: Input> QueryCursor<'_, 'tree, I>
pub fn next_match(&mut self) -> Option<QueryMatch<'_, 'tree>>
pub fn next_matched_node( &mut self, ) -> Option<(QueryMatch<'_, 'tree>, MatchedNodeIdx)>
pub fn set_byte_range(&mut self, range: Range<u32>)
pub fn reuse(self) -> InactiveQueryCursor
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'tree, I> Freeze for QueryCursor<'a, 'tree, I>where
I: Freeze,
impl<'a, 'tree, I> RefUnwindSafe for QueryCursor<'a, 'tree, I>where
I: RefUnwindSafe,
impl<'a, 'tree, I> !Send for QueryCursor<'a, 'tree, I>
impl<'a, 'tree, I> !Sync for QueryCursor<'a, 'tree, I>
impl<'a, 'tree, I> Unpin for QueryCursor<'a, 'tree, I>where
I: Unpin,
impl<'a, 'tree, I> UnwindSafe for QueryCursor<'a, 'tree, I>where
I: UnwindSafe,
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