Struct HookTuple

Source
pub struct HookTuple<T>(pub T);

Tuple Fields§

§0: T

Trait Implementations§

Source§

impl<T: Default> Default for HookTuple<T>

Source§

fn default() -> HookTuple<T>

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

impl HookPollNextUpdate for HookTuple<()>

Source§

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

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

impl<T0: HookPollNextUpdate> HookPollNextUpdate for HookTuple<(T0,)>

Source§

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

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

impl<T1: HookPollNextUpdate, T0: HookPollNextUpdate> HookPollNextUpdate for HookTuple<(T1, T0)>

Source§

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

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

impl<T2: HookPollNextUpdate, T1: HookPollNextUpdate, T0: HookPollNextUpdate> HookPollNextUpdate for HookTuple<(T2, T1, T0)>

Source§

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

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

impl<T3: HookPollNextUpdate, T2: HookPollNextUpdate, T1: HookPollNextUpdate, T0: HookPollNextUpdate> HookPollNextUpdate for HookTuple<(T3, T2, T1, T0)>

Source§

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

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

impl<T4: HookPollNextUpdate, T3: HookPollNextUpdate, T2: HookPollNextUpdate, T1: HookPollNextUpdate, T0: HookPollNextUpdate> HookPollNextUpdate for HookTuple<(T4, T3, T2, T1, T0)>

Source§

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

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

impl<T5: HookPollNextUpdate, T4: HookPollNextUpdate, T3: HookPollNextUpdate, T2: HookPollNextUpdate, T1: HookPollNextUpdate, T0: HookPollNextUpdate> HookPollNextUpdate for HookTuple<(T5, T4, T3, T2, T1, T0)>

Source§

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

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

impl<T6: HookPollNextUpdate, T5: HookPollNextUpdate, T4: HookPollNextUpdate, T3: HookPollNextUpdate, T2: HookPollNextUpdate, T1: HookPollNextUpdate, T0: HookPollNextUpdate> HookPollNextUpdate for HookTuple<(T6, T5, T4, T3, T2, T1, T0)>

Source§

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

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

impl<T7: HookPollNextUpdate, T6: HookPollNextUpdate, T5: HookPollNextUpdate, T4: HookPollNextUpdate, T3: HookPollNextUpdate, T2: HookPollNextUpdate, T1: HookPollNextUpdate, T0: HookPollNextUpdate> HookPollNextUpdate for HookTuple<(T7, T6, T5, T4, T3, T2, T1, T0)>

Source§

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

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

impl<T8: HookPollNextUpdate, T7: HookPollNextUpdate, T6: HookPollNextUpdate, T5: HookPollNextUpdate, T4: HookPollNextUpdate, T3: HookPollNextUpdate, T2: HookPollNextUpdate, T1: HookPollNextUpdate, T0: HookPollNextUpdate> HookPollNextUpdate for HookTuple<(T8, T7, T6, T5, T4, T3, T2, T1, T0)>

Source§

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

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

impl<T9: HookPollNextUpdate, T8: HookPollNextUpdate, T7: HookPollNextUpdate, T6: HookPollNextUpdate, T5: HookPollNextUpdate, T4: HookPollNextUpdate, T3: HookPollNextUpdate, T2: HookPollNextUpdate, T1: HookPollNextUpdate, T0: HookPollNextUpdate> HookPollNextUpdate for HookTuple<(T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)>

Source§

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

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

impl HookUnmount for HookTuple<()>

Source§

fn unmount(self: Pin<&mut Self>)

Source§

impl<T0: HookUnmount> HookUnmount for HookTuple<(T0,)>

Source§

fn unmount(self: Pin<&mut Self>)

Source§

impl<T1: HookUnmount, T0: HookUnmount> HookUnmount for HookTuple<(T1, T0)>

Source§

fn unmount(self: Pin<&mut Self>)

Source§

impl<T2: HookUnmount, T1: HookUnmount, T0: HookUnmount> HookUnmount for HookTuple<(T2, T1, T0)>

Source§

fn unmount(self: Pin<&mut Self>)

Source§

impl<T3: HookUnmount, T2: HookUnmount, T1: HookUnmount, T0: HookUnmount> HookUnmount for HookTuple<(T3, T2, T1, T0)>

Source§

fn unmount(self: Pin<&mut Self>)

Source§

impl<T4: HookUnmount, T3: HookUnmount, T2: HookUnmount, T1: HookUnmount, T0: HookUnmount> HookUnmount for HookTuple<(T4, T3, T2, T1, T0)>

Source§

fn unmount(self: Pin<&mut Self>)

Source§

impl<T5: HookUnmount, T4: HookUnmount, T3: HookUnmount, T2: HookUnmount, T1: HookUnmount, T0: HookUnmount> HookUnmount for HookTuple<(T5, T4, T3, T2, T1, T0)>

Source§

fn unmount(self: Pin<&mut Self>)

Source§

impl<T6: HookUnmount, T5: HookUnmount, T4: HookUnmount, T3: HookUnmount, T2: HookUnmount, T1: HookUnmount, T0: HookUnmount> HookUnmount for HookTuple<(T6, T5, T4, T3, T2, T1, T0)>

Source§

fn unmount(self: Pin<&mut Self>)

Source§

impl<T7: HookUnmount, T6: HookUnmount, T5: HookUnmount, T4: HookUnmount, T3: HookUnmount, T2: HookUnmount, T1: HookUnmount, T0: HookUnmount> HookUnmount for HookTuple<(T7, T6, T5, T4, T3, T2, T1, T0)>

Source§

fn unmount(self: Pin<&mut Self>)

Source§

impl<T8: HookUnmount, T7: HookUnmount, T6: HookUnmount, T5: HookUnmount, T4: HookUnmount, T3: HookUnmount, T2: HookUnmount, T1: HookUnmount, T0: HookUnmount> HookUnmount for HookTuple<(T8, T7, T6, T5, T4, T3, T2, T1, T0)>

Source§

fn unmount(self: Pin<&mut Self>)

Source§

impl<T9: HookUnmount, T8: HookUnmount, T7: HookUnmount, T6: HookUnmount, T5: HookUnmount, T4: HookUnmount, T3: HookUnmount, T2: HookUnmount, T1: HookUnmount, T0: HookUnmount> HookUnmount for HookTuple<(T9, T8, T7, T6, T5, T4, T3, T2, T1, T0)>

Source§

fn unmount(self: Pin<&mut Self>)

Auto Trait Implementations§

§

impl<T> Freeze for HookTuple<T>
where T: Freeze,

§

impl<T> RefUnwindSafe for HookTuple<T>
where T: RefUnwindSafe,

§

impl<T> Send for HookTuple<T>
where T: Send,

§

impl<T> Sync for HookTuple<T>
where T: Sync,

§

impl<T> Unpin for HookTuple<T>
where T: Unpin,

§

impl<T> UnwindSafe for HookTuple<T>
where T: UnwindSafe,

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> 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<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

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>,

Source§

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.
Source§

impl<T, U> Captures<U> for T
where T: ?Sized,