Struct gherkin_rust::Background[][src]

pub struct Background {
    pub steps: Vec<Step>,
    pub position: (usize, usize),
}

A feature background

Fields

The parsed steps from the background directive.

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

Trait Implementations

impl Debug for Background
[src]

Formats the value using the given formatter. Read more

impl Clone for Background
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Background
[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 Background
[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 Background
[src]

impl<'a> From<Pair<'a, Rule>> for Background
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Background

impl Sync for Background