pub struct Update<Ef, Ev> {
pub effects: Vec<Ef>,
pub events: Vec<Ev>,
}
Expand description
Update test helper holds the result of running an app update using AppTester::update
or resolving a request with AppTester::resolve
.
Fields§
§effects: Vec<Ef>
Effects requested from the update run
events: Vec<Ev>
Events dispatched from the update run
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<Ef, Ev> Freeze for Update<Ef, Ev>
impl<Ef, Ev> RefUnwindSafe for Update<Ef, Ev>where
Ef: RefUnwindSafe,
Ev: RefUnwindSafe,
impl<Ef, Ev> Send for Update<Ef, Ev>
impl<Ef, Ev> Sync for Update<Ef, Ev>
impl<Ef, Ev> Unpin for Update<Ef, Ev>
impl<Ef, Ev> UnwindSafe for Update<Ef, Ev>where
Ef: UnwindSafe,
Ev: UnwindSafe,
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