pub struct FeatureFile {
pub name: String,
pub path: String,
pub source: Arc<str>,
pub tags: Vec<String>,
pub scenarios: Vec<ScenarioDef>,
}Expand description
A parsed, fully-expanded feature file: outlines are concrete scenarios, Background steps are prepended, Rule scenarios are inlined.
Fields§
§name: StringFeature name as authored.
path: StringPath as authored (diagnostics + step anchors).
source: Arc<str>Normalized source text (trailing newline guaranteed).
Feature-level tags (without @).
scenarios: Vec<ScenarioDef>All concrete scenarios, in authored order.
Trait Implementations§
Source§impl Clone for FeatureFile
impl Clone for FeatureFile
Source§fn clone(&self) -> FeatureFile
fn clone(&self) -> FeatureFile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FeatureFile
impl RefUnwindSafe for FeatureFile
impl Send for FeatureFile
impl Sync for FeatureFile
impl Unpin for FeatureFile
impl UnsafeUnpin for FeatureFile
impl UnwindSafe for FeatureFile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more