Struct pcre2::bytes::Match[][src]

pub struct Match<'s> { /* fields omitted */ }

Match represents a single match of a regex in a subject string.

The lifetime parameter 's refers to the lifetime of the matched portion of the subject string.

Methods

impl<'s> Match<'s>
[src]

Returns the starting byte offset of the match in the subject.

Returns the ending byte offset of the match in the subject.

Returns the matched portion of the subject string.

Trait Implementations

impl<'s> Clone for Match<'s>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'s> Copy for Match<'s>
[src]

impl<'s> Debug for Match<'s>
[src]

Formats the value using the given formatter. Read more

impl<'s> Eq for Match<'s>
[src]

impl<'s> PartialEq for Match<'s>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl<'s> Send for Match<'s>

impl<'s> Sync for Match<'s>