pub struct Matches<'a> { /* private fields */ }
Expand description

The Matches represent matched results from a Pattern against a provided text.

Implementations

Gets the value for the name (or) alias if found, None otherwise.

Returns the number of matches.

Returns true if there are no matches, false otherwise.

Returns a tuple of key/value with all the matches found.

Note that if no match is found, the value is empty.

Trait Implementations

Formats the value using the given formatter. Read more

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. 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.