Struct hooks::shared_ref::UseSharedRef
source · pub struct UseSharedRef<T>(pub T);Expand description
use SharedRef with initial value.
Tuple Fields§
§0: TTrait Implementations§
fn update_hook(self, _hook: Pin<&mut Self::Hook>)
type Uninitialized = SharedRefUninitialized<T>
fn h( self, hook: Pin<&mut Self::Uninitialized> ) -> <Self::Hook as HookValue<'_>>::Value
Auto Trait Implementations§
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