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: usize
Trait Implementations§
source§impl Debug for RegexCapture
impl Debug for RegexCapture
source§impl Display for RegexCapture
impl Display for RegexCapture
source§impl From<RegexCapture> for Expression
impl From<RegexCapture> for Expression
source§fn from(expr: RegexCapture) -> Expression
fn from(expr: RegexCapture) -> Expression
Converts to this type from the input type.
source§impl PartialEq for RegexCapture
impl PartialEq for RegexCapture
source§fn 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 ==
.impl Eq 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§
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