Struct onig::CaptureTreeNode
source · [−]#[repr(transparent)]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
sourceimpl CaptureTreeNode
impl CaptureTreeNode
sourcepub fn children(&self) -> CaptureTreeNodeIter<'_>ⓘNotable traits for CaptureTreeNodeIter<'t>impl<'t> Iterator for CaptureTreeNodeIter<'t> type Item = &'t CaptureTreeNode;
pub fn children(&self) -> CaptureTreeNodeIter<'_>ⓘNotable traits for CaptureTreeNodeIter<'t>impl<'t> Iterator for CaptureTreeNodeIter<'t> type Item = &'t CaptureTreeNode;
An iterator over thie children of this capture group
Trait Implementations
sourceimpl Debug for CaptureTreeNode
impl Debug for CaptureTreeNode
sourceimpl Index<usize> for CaptureTreeNode
impl Index<usize> for CaptureTreeNode
type Output = CaptureTreeNode
type Output = CaptureTreeNode
The returned type after indexing.
sourcefn index(&self, index: usize) -> &CaptureTreeNode
fn index(&self, index: usize) -> &CaptureTreeNode
Performs the indexing (container[index]
) operation. Read more
Auto Trait Implementations
impl RefUnwindSafe for CaptureTreeNode
impl !Send for CaptureTreeNode
impl !Sync for CaptureTreeNode
impl Unpin for CaptureTreeNode
impl UnwindSafe for CaptureTreeNode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more