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