Struct hooks::lazy_pinned::UseLazyPinned
source · pub struct UseLazyPinned<T>(pub T);Tuple Fields§
§0: TTrait Implementations§
source§impl<T> IntoHook for UseLazyPinned<T>
impl<T> IntoHook for UseLazyPinned<T>
source§impl<T> UpdateHook for UseLazyPinned<T>
impl<T> UpdateHook for UseLazyPinned<T>
fn update_hook(self, _hook: Pin<&mut Self::Hook>)
source§impl<T> UpdateHookUninitialized for UseLazyPinned<T>
impl<T> UpdateHookUninitialized for UseLazyPinned<T>
type Uninitialized = LazyPinned<T>
fn h( self, hook: Pin<&mut Self::Uninitialized>, ) -> <Self::Hook as HookValue<'_>>::Value
Auto Trait Implementations§
impl<T> Freeze for UseLazyPinned<T>where
T: Freeze,
impl<T> RefUnwindSafe for UseLazyPinned<T>where
T: RefUnwindSafe,
impl<T> Send for UseLazyPinned<T>where
T: Send,
impl<T> Sync for UseLazyPinned<T>where
T: Sync,
impl<T> Unpin for UseLazyPinned<T>where
T: Unpin,
impl<T> UnwindSafe for UseLazyPinned<T>where
T: 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