Struct regex::bytes::Match [] [src]

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

Match represents a single match of a regex in a haystack.

The lifetime parameter 't refers to the lifetime of the matched text.

Methods

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

[src]

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

[src]

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

[src]

Returns the matched text.

Trait Implementations

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

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter. Read more

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

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

[src]

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

[src]

This method tests for !=.

Auto Trait Implementations

impl<'t> Send for Match<'t>

impl<'t> Sync for Match<'t>