Struct hooks::shared_ref::SharedRefUninitialized
source · pub struct SharedRefUninitialized<T>(pub Option<SharedRef<T>>);Tuple Fields§
§0: Option<SharedRef<T>>Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§fn 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.source§fn 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.