struct StateFn<S, F> {
state: S,
f: F,
}
Fields§
§state: S
§f: F
Auto Trait Implementations§
impl<S, F> RefUnwindSafe for StateFn<S, F>where F: RefUnwindSafe, S: RefUnwindSafe,
impl<S, F> Send for StateFn<S, F>where F: Send, S: Send,
impl<S, F> Sync for StateFn<S, F>where F: Sync, S: Sync,
impl<S, F> Unpin for StateFn<S, F>where F: Unpin, S: Unpin,
impl<S, F> UnwindSafe for StateFn<S, F>where F: UnwindSafe, S: 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