Struct tree_sitter_graph::ast::RegexCapture
source · [−]pub struct RegexCapture {
pub match_index: usize,
}Expand description
A reference to one of the regex captures in a scan statement
Fields
match_index: usizeTrait Implementations
sourceimpl Debug for RegexCapture
impl Debug for RegexCapture
sourceimpl Display for RegexCapture
impl Display for RegexCapture
sourceimpl From<RegexCapture> for Expression
impl From<RegexCapture> for Expression
sourcefn from(expr: RegexCapture) -> Expression
fn from(expr: RegexCapture) -> Expression
Converts to this type from the input type.
sourceimpl PartialEq<RegexCapture> for RegexCapture
impl PartialEq<RegexCapture> for RegexCapture
sourcefn eq(&self, other: &RegexCapture) -> bool
fn eq(&self, other: &RegexCapture) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &RegexCapture) -> bool
fn ne(&self, other: &RegexCapture) -> bool
This method tests for !=.
impl Eq for RegexCapture
impl StructuralEq for RegexCapture
impl StructuralPartialEq for RegexCapture
Auto Trait Implementations
impl RefUnwindSafe for RegexCapture
impl Send for RegexCapture
impl Sync for RegexCapture
impl Unpin for RegexCapture
impl UnwindSafe for RegexCapture
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