pub struct MatchedStep { /* private fields */ }
Expand description

A matched binding and scenario step, with captured parts.

A MatchedStep is a sequence of partial steps, each representing either a captured or a matching part of the text of the step.

Implementations

Return a new empty match. Empty means it has no step parts.

The kind of step that has been matched.

The name of the function to call for the step.

Append a partial step to the match.

Iterate over all partial steps in the match.

Return the step’s text

Return the typemap for the matched step

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. 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.