Struct relm4::shared_state::SharedStateWriteGuard
source · pub struct SharedStateWriteGuard<'a, Data> { /* private fields */ }
Expand description
A guard that mutably dereferences Data
.
Once dropped all subscribers of the SharedState
will be notified.
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<C> AsyncPosition<()> for C
impl<C> AsyncPosition<()> for C
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