pub struct UseEffectOnceWith<F>(pub F);Tuple Fields§
§0: FTrait Implementations§
Source§impl<E: EffectForNoneDependency, F: FnOnce() -> E> IntoHook for UseEffectOnceWith<F>
impl<E: EffectForNoneDependency, F: FnOnce() -> E> IntoHook for UseEffectOnceWith<F>
Source§impl<E: EffectForNoneDependency, F: FnOnce() -> E> UpdateHook for UseEffectOnceWith<F>
impl<E: EffectForNoneDependency, F: FnOnce() -> E> UpdateHook for UseEffectOnceWith<F>
fn update_hook(self, hook: Pin<&mut Self::Hook>)
Source§impl<E: EffectForNoneDependency, F: FnOnce() -> E> UpdateHookUninitialized for UseEffectOnceWith<F>
impl<E: EffectForNoneDependency, F: FnOnce() -> E> UpdateHookUninitialized for UseEffectOnceWith<F>
type Uninitialized = EffectOnce<E>
fn h( self, hook: Pin<&mut Self::Uninitialized>, ) -> <Self::Hook as HookValue<'_>>::Value
Auto Trait Implementations§
impl<F> Freeze for UseEffectOnceWith<F>where
F: Freeze,
impl<F> RefUnwindSafe for UseEffectOnceWith<F>where
F: RefUnwindSafe,
impl<F> Send for UseEffectOnceWith<F>where
F: Send,
impl<F> Sync for UseEffectOnceWith<F>where
F: Sync,
impl<F> Unpin for UseEffectOnceWith<F>where
F: Unpin,
impl<F> UnwindSafe for UseEffectOnceWith<F>where
F: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more