pub struct StateMutationBundle<Frntend> { /* private fields */ }Expand description
A set of state mutations, that can be applied to a Frntend.
Implementations§
Source§impl<Frntend: 'static> StateMutationBundle<Frntend>
impl<Frntend: 'static> StateMutationBundle<Frntend>
pub fn map<NewFrntend>( self, nf: impl FnMut(&mut NewFrntend) -> &mut Frntend + Send + Copy + 'static, ) -> StateMutationBundle<NewFrntend>
Source§impl<Frntend> StateMutationBundle<Frntend>
impl<Frntend> StateMutationBundle<Frntend>
pub fn apply(self, frontend: &mut Frntend)
Auto Trait Implementations§
impl<Frntend> Freeze for StateMutationBundle<Frntend>
impl<Frntend> !RefUnwindSafe for StateMutationBundle<Frntend>
impl<Frntend> Send for StateMutationBundle<Frntend>
impl<Frntend> !Sync for StateMutationBundle<Frntend>
impl<Frntend> Unpin for StateMutationBundle<Frntend>
impl<Frntend> !UnwindSafe for StateMutationBundle<Frntend>
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