Enum gherkin_rust::StepType [−][src]
pub enum StepType { Given, When, Then, }
The fundamental Gherkin step type after contextually handling But
and And
Variants
Given
When
Then
Methods
impl StepType
[src]
impl StepType
impl StepType
[src]
impl StepType
pub fn new_with_context(s: &str, context: Option<StepType>) -> Self
[src]
pub fn new_with_context(s: &str, context: Option<StepType>) -> Self
Trait Implementations
impl Debug for StepType
[src]
impl Debug for StepType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for StepType
[src]
impl Clone for StepType
fn clone(&self) -> StepType
[src]
fn clone(&self) -> StepType
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
impl Copy for StepType
[src]
impl Copy for StepType
impl PartialEq for StepType
[src]
impl PartialEq for StepType
fn eq(&self, other: &StepType) -> bool
[src]
fn eq(&self, other: &StepType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Hash for StepType
[src]
impl Hash for StepType
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Eq for StepType
[src]
impl Eq for StepType