Enum subplot::StepKind [−][src]
pub enum StepKind {
Given,
When,
Then,
}
Expand description
The kind of scenario step we have: given, when, or then.
This needs to be extended if the Subplot language gets extended with other kinds of steps. However, note that the scenario parser will hide aliases, such as “and” to mean the same kind as the previous step.
Variants
A “given some precondition” step.
A “when something happens” step.
A “then some condition” step.
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
Auto Trait Implementations
impl RefUnwindSafe for StepKind
impl UnwindSafe for StepKind
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