Struct FnHookUninitialized

Source
pub struct FnHookUninitialized<InnerHook: Default, U> { /* private fields */ }

Trait Implementations§

Source§

impl<InnerHook: Default, U> Default for FnHookUninitialized<InnerHook, U>

Source§

fn default() -> Self

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

impl<InnerHook, U> HookPollNextUpdate for FnHookUninitialized<InnerHook, U>

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<InnerHook, U> HookUnmount for FnHookUninitialized<InnerHook, U>

Source§

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

Source§

impl<'__pin, InnerHook: Default, U> Unpin for FnHookUninitialized<InnerHook, U>
where PinnedFieldsOf<__Origin<'__pin, InnerHook, U>>: Unpin,

Auto Trait Implementations§

§

impl<InnerHook, U> Freeze for FnHookUninitialized<InnerHook, U>
where InnerHook: Freeze, U: Freeze,

§

impl<InnerHook, U> RefUnwindSafe for FnHookUninitialized<InnerHook, U>
where InnerHook: RefUnwindSafe, U: RefUnwindSafe,

§

impl<InnerHook, U> Send for FnHookUninitialized<InnerHook, U>
where InnerHook: Send, U: Send,

§

impl<InnerHook, U> Sync for FnHookUninitialized<InnerHook, U>
where InnerHook: Sync, U: Sync,

§

impl<InnerHook, U> UnwindSafe for FnHookUninitialized<InnerHook, U>
where InnerHook: UnwindSafe, U: 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,