pub struct ScopedStore<S: 'static, M: 'static, CS: 'static, CM: 'static, AK: 'static, SK>where
SK: RefKpTrait<S, CS> + Clone,{ /* private fields */ }Expand description
Child store routing actions through a parent action casepath.
Implementations§
Source§impl<S, M, CS, CM, AK, SK> ScopedStore<S, M, CS, CM, AK, SK>
impl<S, M, CS, CM, AK, SK> ScopedStore<S, M, CS, CM, AK, SK>
pub fn send(&self, action: CM) -> StoreTask
pub fn dispatch(&self, action: CM)
pub fn child_state(&self) -> Option<CS>
pub fn subscribe_state(&self) -> ScopedStateSubscriber<S, CS, SK>
Trait Implementations§
Source§impl<S, M, CS: 'static, CM: 'static, AK, SK> Clone for ScopedStore<S, M, CS, CM, AK, SK>
impl<S, M, CS: 'static, CM: 'static, AK, SK> Clone for ScopedStore<S, M, CS, CM, AK, SK>
Auto Trait Implementations§
impl<S, M, CS, CM, AK, SK> !RefUnwindSafe for ScopedStore<S, M, CS, CM, AK, SK>
impl<S, M, CS, CM, AK, SK> !UnwindSafe for ScopedStore<S, M, CS, CM, AK, SK>
impl<S, M, CS, CM, AK, SK> Freeze for ScopedStore<S, M, CS, CM, AK, SK>
impl<S, M, CS, CM, AK, SK> Send for ScopedStore<S, M, CS, CM, AK, SK>
impl<S, M, CS, CM, AK, SK> Sync for ScopedStore<S, M, CS, CM, AK, SK>
impl<S, M, CS, CM, AK, SK> Unpin for ScopedStore<S, M, CS, CM, AK, SK>
impl<S, M, CS, CM, AK, SK> UnsafeUnpin for ScopedStore<S, M, CS, CM, AK, SK>where
SK: UnsafeUnpin,
AK: UnsafeUnpin,
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