Trait cucumber::codegen::StepConstructor

source ·
pub trait StepConstructor<W> {
    // Required method
    fn inner(&self) -> (Location, LazyRegex, Step<W>);
}
Available on crate feature macros only.
Expand description

Trait for registering a Step with given, when and then attributes inside World::collection() method.

Required Methods§

source

fn inner(&self) -> (Location, LazyRegex, Step<W>)

Returns an inner Step with the corresponding Regex.

Implementors§