Struct gherkin_rust::Examples [−][src]
pub struct Examples { pub table: Table, pub tags: Option<Vec<String>>, pub position: (usize, usize), }
Examples for a scenario
Fields
table: Table
The data table from the examples directive.
The tags for the examples directive if provided.
position: (usize, usize)
The (line, col)
position the examples directive was found in the .feature file.
Trait Implementations
impl Debug for Examples
[src]
impl Debug for Examples
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 Examples
[src]
impl Clone for Examples
fn clone(&self) -> Examples
[src]
fn clone(&self) -> Examples
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 PartialEq for Examples
[src]
impl PartialEq for Examples
fn eq(&self, other: &Examples) -> bool
[src]
fn eq(&self, other: &Examples) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Examples) -> bool
[src]
fn ne(&self, other: &Examples) -> bool
This method tests for !=
.
impl Hash for Examples
[src]
impl Hash for Examples
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 Examples
[src]
impl Eq for Examples
impl<'a> From<Pair<'a, Rule>> for Examples
[src]
impl<'a> From<Pair<'a, Rule>> for Examples