Trait Implementations
sourceimpl<'a, T: 'a + PartialEq, const N: usize> Hook<(T,)> for StateEq<'a, T, N>
impl<'a, T: 'a + PartialEq, const N: usize> Hook<(T,)> for StateEq<'a, T, N>
fn use_hook<'hook>(
self: Pin<&'hook mut Self>,
(initial_state): (T,)
) -> <Self as HookLifetime<'hook, (T,)>>::Valuewhere
Self: 'hook,
sourceimpl<'a, T: 'a + PartialEq, const N: usize> HookBounds for StateEq<'a, T, N>
impl<'a, T: 'a + PartialEq, const N: usize> HookBounds for StateEq<'a, T, N>
sourceimpl<'hook, 'a, T: 'a + PartialEq, const N: usize> HookLifetime<'hook, (T,), &'hook StateEq<'a, T, N>> for StateEq<'a, T, N>
impl<'hook, 'a, T: 'a + PartialEq, const N: usize> HookLifetime<'hook, (T,), &'hook StateEq<'a, T, N>> for StateEq<'a, T, N>
type Value = (&'hook mut T, &'hook StateUpdater<'a, T, N>)
sourceimpl<'a, T: 'a + PartialEq, const N: usize> HookPollNextUpdate for StateEq<'a, T, N>
impl<'a, T: 'a + PartialEq, const N: usize> HookPollNextUpdate for StateEq<'a, T, N>
impl<'a, T: 'a + PartialEq, const N: usize> Unpin for StateEq<'a, T, N>
Auto Trait Implementations
impl<'a, T, const N: usize = STAGING_STATES_DEFAULT_STACK_COUNT> !RefUnwindSafe for StateEq<'a, T, N>
impl<'a, T, const N: usize = STAGING_STATES_DEFAULT_STACK_COUNT> !Send for StateEq<'a, T, N>
impl<'a, T, const N: usize = STAGING_STATES_DEFAULT_STACK_COUNT> !Sync for StateEq<'a, T, N>
impl<'a, T, const N: usize = STAGING_STATES_DEFAULT_STACK_COUNT> !UnwindSafe for StateEq<'a, T, N>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Args, H> HookExt<Args> for Hwhere
H: Hook<Args> + ?Sized,
impl<Args, H> HookExt<Args> for Hwhere
H: Hook<Args> + ?Sized,
sourcefn use_hook(&mut self, args: Args) -> Self::Valuewhere
Self: Unpin,
fn use_hook(&mut self, args: Args) -> Self::Valuewhere
Self: Unpin,
A shortcut to call
Hook::use_hook on Unpin hooks.fn run_by_runner_with_get_args<'run, R, G>(
&'run mut self,
runner: R,
get_args: G
) -> <R as RunHook<&'run mut Self, G, Args>>::RunningHookwhere
R: RunHook<&'run mut Self, G, Args>,
G: GetArgsForHook<R, &'run mut Self, Args>,
Self: 'run + Unpin,
fn run_by_runner_with_clone_args<'run, R>(
&'run mut self,
runner: R,
args: Args
) -> <R as RunHook<&'run mut Self, CloneArgsForHook<Args>, Args>>::RunningHookwhere
R: RunHook<&'run mut Self, CloneArgsForHook<Args>, Args>,
Self: 'run + Unpin,
Args: Clone,
fn run_by_runner_with_default_args<'run, R>(
&'run mut self,
runner: R
) -> <R as RunHook<&'run mut Self, DefaultArgsForHook, Args>>::RunningHookwhere
R: RunHook<&'run mut Self, DefaultArgsForHook, Args>,
Self: 'run + Unpin,
Args: Default,
fn run_with_get_args<'run, G>(
&'run mut self,
get_args: G
) -> RunningHook<&'run mut Self, G, Args>where
G: GetArgsForHook<Runner, &'run mut Self, Args>,
Self: 'run + Unpin,
fn run_with_clone_args<'run>(
&'run mut self,
args: Args
) -> RunningHook<&'run mut Self, CloneArgsForHook<Args>, Args>where
Self: 'run + Unpin,
Args: Clone,
fn run_with_default_args<'run>(
&'run mut self
) -> RunningHook<&'run mut Self, DefaultArgsForHook, Args>where
Self: 'run + Unpin,
Args: Default,
fn into_run_by_runner_with_get_args<R, G>(
self,
runner: R,
get_args: G
) -> <R as RunHook<Self, G, Args>>::RunningHookwhere
R: RunHook<Self, G, Args>,
G: GetArgsForHook<R, Self, Args>,
Self: Sized,
fn into_run_by_runner_with_clone_args<R>(
self,
runner: R,
args: Args
) -> <R as RunHook<Self, CloneArgsForHook<Args>, Args>>::RunningHookwhere
R: RunHook<Self, CloneArgsForHook<Args>, Args>,
Self: Sized,
Args: Clone,
fn into_run_by_runner_with_default_args<R>(
self,
runner: R
) -> <R as RunHook<Self, DefaultArgsForHook, Args>>::RunningHookwhere
R: RunHook<Self, DefaultArgsForHook, Args>,
Self: Sized,
Args: Default,
fn into_run_with_get_args<G>(self, get_args: G) -> RunningHook<Self, G, Args>where
G: GetArgsForHook<Runner, Self, Args>,
Self: Sized,
fn into_run_with_clone_args(
self,
args: Args
) -> RunningHook<Self, CloneArgsForHook<Args>, Args>where
Self: Sized,
Args: Clone,
fn into_run_with_default_args(
self
) -> RunningHook<Self, DefaultArgsForHook, Args>where
Self: Sized,
Args: Default,
sourceimpl<H> HookPollNextUpdateExt for Hwhere
H: HookPollNextUpdate,
impl<H> HookPollNextUpdateExt for Hwhere
H: HookPollNextUpdate,
sourcefn poll_next_update(&mut self, cx: &mut Context<'_>) -> Poll<bool>where
Self: Unpin,
fn poll_next_update(&mut self, cx: &mut Context<'_>) -> Poll<bool>where
Self: Unpin,
A shortcut to call [
Hook::poll_next_update] on Unpin hooks.sourcefn next_update(&mut self) -> NextUpdate<'_, Self>where
Self: Unpin,
fn next_update(&mut self) -> NextUpdate<'_, Self>where
Self: Unpin,
Get a future which polls [
Hook::poll_next_update].