pub struct ViewTestSpecification<'a, State, Event>{ /* private fields */ }
Expand description
A test specification DSL for views that supports the `given-then`` format. The DSL is used to specify the events that have already occurred (GIVEN), and the expected view state (THEN) that should be generated based on these events.
Implementations§
Source§impl<'a, State, Event> ViewTestSpecification<'a, State, Event>
impl<'a, State, Event> ViewTestSpecification<'a, State, Event>
Trait Implementations§
Auto Trait Implementations§
impl<'a, State, Event> Freeze for ViewTestSpecification<'a, State, Event>
impl<'a, State, Event> !RefUnwindSafe for ViewTestSpecification<'a, State, Event>
impl<'a, State, Event> Send for ViewTestSpecification<'a, State, Event>where
Event: Send,
impl<'a, State, Event> Sync for ViewTestSpecification<'a, State, Event>where
Event: Sync,
impl<'a, State, Event> Unpin for ViewTestSpecification<'a, State, Event>where
Event: Unpin,
impl<'a, State, Event> !UnwindSafe for ViewTestSpecification<'a, State, Event>
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