Struct gherkin_rust::ExamplesBuilder [−][src]
pub struct ExamplesBuilder { /* fields omitted */ }
Builder for Examples
.
Methods
impl ExamplesBuilder
[src]
impl ExamplesBuilder
pub fn table(&mut self, value: Table) -> &mut Self
[src]
pub fn table(&mut self, value: Table) -> &mut Self
The data table from the examples directive.
The tags for the examples directive if provided.
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 examples directive was found in the .feature file.
pub fn build(&self) -> Result<Examples, String>
[src]
pub fn build(&self) -> Result<Examples, String>
Trait Implementations
impl Default for ExamplesBuilder
[src]
impl Default for ExamplesBuilder
fn default() -> ExamplesBuilder
[src]
fn default() -> ExamplesBuilder
Returns the "default value" for a type. Read more
impl Clone for ExamplesBuilder
[src]
impl Clone for ExamplesBuilder
fn clone(&self) -> ExamplesBuilder
[src]
fn clone(&self) -> ExamplesBuilder
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 ExamplesBuilder
impl Send for ExamplesBuilder
impl Sync for ExamplesBuilder
impl Sync for ExamplesBuilder