pub enum Section<'a, 'input> {
Background(Background<'a>),
Example(Example<'a, &'a mut CowStr<'input>>),
Raw(Raw),
}Expand description
A spec section extracted from a parsed input.
These are modeled after Gherkin’s sections.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'input> Freeze for Section<'a, 'input>
impl<'a, 'input> RefUnwindSafe for Section<'a, 'input>
impl<'a, 'input> Send for Section<'a, 'input>
impl<'a, 'input> Sync for Section<'a, 'input>
impl<'a, 'input> Unpin for Section<'a, 'input>
impl<'a, 'input> !UnwindSafe for Section<'a, 'input>
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