Trait hooks_core::HookPollNextUpdateExt
source · pub trait HookPollNextUpdateExt: HookPollNextUpdate {
fn poll_next_update(&mut self, cx: &mut Context<'_>) -> Poll<bool>
where
Self: Unpin,
{ ... }
fn next_update(&mut self) -> NextUpdate<'_, Self> ⓘ
where
Self: Unpin,
{ ... }
}
Provided Methods§
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 HookPollNextUpdate::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 HookPollNextUpdate::poll_next_update
.