#[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

The capture group number for this capture

The extent of this capture

The number of child captures this group contains

Does the node have any child captures?

An iterator over thie children of this capture group

Trait Implementations

Formats the value using the given formatter. Read more

The returned type after indexing.

Performs the indexing (container[index]) operation. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.