Struct subplot::ScenarioStep [−][src]
pub struct ScenarioStep { /* fields omitted */ }
Expand description
A scenario step.
The scenario parser creates these kinds of data structures to represent the parsed scenario step. The step consists of a kind (expressed as a StepKind), and the text of the step.
This is just the step as it appears in the scenario in the input text. It has not been matched with a binding. See MatchedStep for that.
Implementations
Construct a step from a line in a scenario.
If the step uses the “and” or “but” keyword, use the default step kind instead.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 RefUnwindSafe for ScenarioStep
impl Send for ScenarioStep
impl Sync for ScenarioStep
impl Unpin for ScenarioStep
impl UnwindSafe for ScenarioStep
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more