pub struct TestDsl<H> { /* private fields */ }Implementations§
Source§impl<H: 'static> TestDsl<H>
impl<H: 'static> TestDsl<H>
pub fn new() -> Self
pub fn add_verb(&mut self, name: impl AsRef<str>, verb: impl TestVerb<H>)
pub fn add_condition( &mut self, name: impl AsRef<str>, condition: impl TestCondition<H>, )
pub fn parse_document( &self, input: NamedSource<Arc<str>>, ) -> Result<Vec<TestCase<H>>, TestParseError>
Trait Implementations§
Auto Trait Implementations§
impl<H> Freeze for TestDsl<H>
impl<H> !RefUnwindSafe for TestDsl<H>
impl<H> !Send for TestDsl<H>
impl<H> !Sync for TestDsl<H>
impl<H> Unpin for TestDsl<H>
impl<H> !UnwindSafe for TestDsl<H>
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