pub struct StepDefn {
pub keyword: String,
pub ty: StepKeyword,
pub text: String,
pub table: Option<Vec<Vec<String>>>,
pub docstring: Option<String>,
pub line: usize,
pub span: Span,
}Expand description
One authored step, ready for binding.
Fields§
§keyword: StringKeyword as authored (display only — never matched against patterns).
ty: StepKeywordResolved keyword class.
text: StringStep text (keyword stripped, outline placeholders substituted).
table: Option<Vec<Vec<String>>>Data-table rows (outline placeholders substituted), when present.
docstring: Option<String>Docstring, when present (reserved for raw bodies — M5).
line: usize1-based line of the step (anchors + events).
span: SpanByte span in the normalized source.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StepDefn
impl RefUnwindSafe for StepDefn
impl Send for StepDefn
impl Sync for StepDefn
impl Unpin for StepDefn
impl UnsafeUnpin for StepDefn
impl UnwindSafe for StepDefn
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