[][src]Struct cucumber_rust::CucumberBuilder

pub struct CucumberBuilder<W: World, O: OutputVisitor> { /* fields omitted */ }

Methods

impl<W: World, O: OutputVisitor> CucumberBuilder<W, O>[src]

pub fn new(output: O) -> Self[src]

pub fn setup(&mut self, function: fn()) -> &mut Self[src]

pub fn features(&mut self, features: Vec<PathBuf>) -> &mut Self[src]

pub fn before(&mut self, functions: Vec<fn(_: &Scenario)>) -> &mut Self[src]

pub fn add_before(&mut self, function: fn(_: &Scenario)) -> &mut Self[src]

pub fn after(&mut self, functions: Vec<fn(_: &Scenario)>) -> &mut Self[src]

pub fn add_after(&mut self, function: fn(_: &Scenario)) -> &mut Self[src]

pub fn steps(&mut self, steps: Steps<W>) -> &mut Self[src]

pub fn options(&mut self, options: CliOptions) -> &mut Self[src]

pub fn run(self) -> bool[src]

pub fn command_line(self) -> bool[src]

Auto Trait Implementations

impl<W, O> !RefUnwindSafe for CucumberBuilder<W, O>

impl<W, O> Send for CucumberBuilder<W, O> where
    O: Send

impl<W, O> Sync for CucumberBuilder<W, O> where
    O: Sync

impl<W, O> Unpin for CucumberBuilder<W, O> where
    O: Unpin

impl<W, O> UnwindSafe for CucumberBuilder<W, O> where
    O: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.