Struct hooks_core::IterHook
source · pub struct IterHook<H> { /* private fields */ }Implementations
sourceimpl<H> IterHook<H>
impl<H> IterHook<H>
pub fn new(hook: H) -> Self
pub fn into_inner(self) -> H
pub fn pin_project_hook(self: Pin<&mut Self>) -> Pin<&mut H>
pub fn next_value(&mut self) -> NextValue<'_, H, ()>ⓘNotable traits for NextValue<'hook, H, Args>impl<'hook, H: ?Sized, Args> Future for NextValue<'hook, H, Args>where
H: Hook<Args>, type Output = Option<<H as HookLifetime<'hook, Args>>::Value>;where
Self: Unpin,
H: Hook<Args>, type Output = Option<<H as HookLifetime<'hook, Args>>::Value>;
Trait Implementations
sourceimpl<H> Stream for IterHook<H>where
H: NonLendingHook<()>,
impl<H> Stream for IterHook<H>where
H: NonLendingHook<()>,
type Item = <H as NonLendingHook<()>>::NonGenericValue
type Item = <H as NonLendingHook<()>>::NonGenericValue
Values yielded by the stream.
impl<'__pin, H> Unpin for IterHook<H>where
__Origin<'__pin, H>: Unpin,
Auto Trait Implementations
impl<H> RefUnwindSafe for IterHook<H>where
H: RefUnwindSafe,
impl<H> Send for IterHook<H>where
H: Send,
impl<H> Sync for IterHook<H>where
H: Sync,
impl<H> UnwindSafe for IterHook<H>where
H: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more