pub struct CaptureTreeNode { /* private fields */ }
Expand description
Capture Tree Node
Represents a single node in the capture tree. Can be queried for information about the given capture and any child-captures that took place.
Implementations§
Source§impl CaptureTreeNode
impl CaptureTreeNode
Sourcepub fn children(&self) -> CaptureTreeNodeIter<'_> ⓘ
pub fn children(&self) -> CaptureTreeNodeIter<'_> ⓘ
An iterator over thie children of this capture group
Trait Implementations§
Source§impl Debug for CaptureTreeNode
impl Debug for CaptureTreeNode
Source§impl Index<usize> for CaptureTreeNode
impl Index<usize> for CaptureTreeNode
Source§type Output = CaptureTreeNode
type Output = CaptureTreeNode
The returned type after indexing.
Auto Trait Implementations§
impl Freeze for CaptureTreeNode
impl RefUnwindSafe for CaptureTreeNode
impl !Send for CaptureTreeNode
impl !Sync for CaptureTreeNode
impl Unpin for CaptureTreeNode
impl UnwindSafe for CaptureTreeNode
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