pub struct RefTo<K>(/* private fields */);Expand description
A reference to content of kind(s) K, kept as the resolved id.
Trait Implementations§
Auto Trait Implementations§
impl<K> Freeze for RefTo<K>where
PhantomData<K>: Freeze,
impl<K> RefUnwindSafe for RefTo<K>where
PhantomData<K>: RefUnwindSafe,
impl<K> Send for RefTo<K>where
PhantomData<K>: Send,
impl<K> Sync for RefTo<K>where
PhantomData<K>: Sync,
impl<K> Unpin for RefTo<K>where
PhantomData<K>: Unpin,
impl<K> UnsafeUnpin for RefTo<K>where
PhantomData<K>: UnsafeUnpin,
impl<K> UnwindSafe for RefTo<K>where
PhantomData<K>: 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