Struct gherkin_rust::Step[][src]

pub struct Step {
    pub ty: StepType,
    pub raw_type: String,
    pub value: String,
    pub docstring: Option<String>,
    pub table: Option<Table>,
    pub position: (usize, usize),
}

A scenario step

Fields

The step type for the step after parsed in context.

The original raw step type, including But and And.

The value of the step after the type.

A docstring, if provided.

A data table, if provided.

The (line, col) position the step directive was found in the .feature file.

Methods

impl Step
[src]

Trait Implementations

impl Debug for Step
[src]

Formats the value using the given formatter. Read more

impl Clone for Step
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Step
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for Step
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Eq for Step
[src]

Auto Trait Implementations

impl Send for Step

impl Sync for Step