Struct gherkin_rust::BackgroundBuilder [−][src]
pub struct BackgroundBuilder { /* fields omitted */ }
Builder for Background
.
Methods
impl BackgroundBuilder
[src]
impl BackgroundBuilder
pub fn steps(&mut self, value: Vec<Step>) -> &mut Self
[src]
pub fn steps(&mut self, value: Vec<Step>) -> &mut Self
The parsed steps from the background directive.
pub fn position(&mut self, value: (usize, usize)) -> &mut Self
[src]
pub fn position(&mut self, value: (usize, usize)) -> &mut Self
The (line, col)
position the background directive was found in the .feature file.
pub fn build(&self) -> Result<Background, String>
[src]
pub fn build(&self) -> Result<Background, String>
Trait Implementations
impl Default for BackgroundBuilder
[src]
impl Default for BackgroundBuilder
fn default() -> BackgroundBuilder
[src]
fn default() -> BackgroundBuilder
Returns the "default value" for a type. Read more
impl Clone for BackgroundBuilder
[src]
impl Clone for BackgroundBuilder
fn clone(&self) -> BackgroundBuilder
[src]
fn clone(&self) -> BackgroundBuilder
Returns 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
Auto Trait Implementations
impl Send for BackgroundBuilder
impl Send for BackgroundBuilder
impl Sync for BackgroundBuilder
impl Sync for BackgroundBuilder