Enum gherkin_rust::StepType [−][src]
pub enum StepType {
Given,
When,
Then,
}Variants
GivenWhenThen
Methods
impl StepType[src]
impl StepTypeimpl StepType[src]
impl StepTypepub fn new_with_context(s: &str, context: Option<StepType>) -> Self[src]
pub fn new_with_context(s: &str, context: Option<StepType>) -> SelfTrait Implementations
impl Debug for StepType[src]
impl Debug for StepTypefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for StepType[src]
impl Clone for StepTypefn clone(&self) -> StepType[src]
fn clone(&self) -> StepTypeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for StepType[src]
impl Copy for StepType