pub struct EffectOnNextPoll<E: EffectForNoneDependency>(/* private fields */);

Trait Implementations§

source§

impl<E: EffectForNoneDependency> Debug for EffectOnNextPoll<E>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<E: EffectForNoneDependency> Default for EffectOnNextPoll<E>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<E: EffectForNoneDependency> Hook for EffectOnNextPoll<E>

source§

fn use_hook(self: Pin<&mut Self>) -> <Self as HookValue<'_>>::Value

source§

impl<E: EffectForNoneDependency> HookPollNextUpdate for EffectOnNextPoll<E>

source§

fn poll_next_update(self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<bool>

The meaning of the return value is: Read more
source§

impl<E: EffectForNoneDependency> HookUnmount for EffectOnNextPoll<E>

source§

impl<'hook, E: EffectForNoneDependency> HookValue<'hook> for EffectOnNextPoll<E>

§

type Value = ()

The output type of Hook::use_hook. Read more
source§

impl<E: EffectForNoneDependency> Unpin for EffectOnNextPoll<E>

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<H> HookExt for H
where H: Hook + ?Sized,

source§

fn use_hook(&mut self) -> Self::Value
where Self: Unpin,

A shortcut to call Hook::use_hook on Unpin hooks.
source§

fn next_value(&mut self) -> NextValue<'_, Self>
where Self: Unpin,

source§

fn into_values(self) -> Values<Self>
where Self: Sized,

source§

fn values(&mut self) -> Values<&mut Self>
where Self: Unpin,

source§

impl<H> HookPollNextUpdateExt for H

source§

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,

Get a future which polls HookPollNextUpdate::poll_next_update.
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<H> IntoHook for H
where H: Hook,

§

type Hook = H

source§

fn into_hook(self) -> <H as IntoHook>::Hook

source§

fn into_hook_values(self) -> Values<Self::Hook>
where Self: Sized,

source§

impl<H, V> NonLendingHook for H
where H: Hook<Value = V> + for<'hook> HookValue<'hook>,

source§

impl<T> PollNextUpdateFromStateUpdater<false> for T

source§

fn poll_next_update_from_state_updater<const N: usize>( current_state: &mut T, state_updater: &mut StateUpdater<'_, T, N>, cx: &mut Context<'_> ) -> Poll<bool>

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.