pub struct Root<D>(pub PhantomData<D>);Tuple Fields§
§0: PhantomData<D>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<D> Freeze for Root<D>where
PhantomData<D>: Freeze,
impl<D> RefUnwindSafe for Root<D>where
PhantomData<D>: RefUnwindSafe,
impl<D> Send for Root<D>where
PhantomData<D>: Send,
impl<D> Sync for Root<D>where
PhantomData<D>: Sync,
impl<D> Unpin for Root<D>where
PhantomData<D>: Unpin,
impl<D> UnsafeUnpin for Root<D>where
PhantomData<D>: UnsafeUnpin,
impl<D> UnwindSafe for Root<D>where
PhantomData<D>: 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