pub struct DynOf<Type>(pub Type);Expand description
Adds a “dyn “ before a type expression.
Tuple Fields§
§0: TypeTrait Implementations§
Auto Trait Implementations§
impl<Type> Freeze for DynOf<Type>where
Type: Freeze,
impl<Type> RefUnwindSafe for DynOf<Type>where
Type: RefUnwindSafe,
impl<Type> Send for DynOf<Type>where
Type: Send,
impl<Type> Sync for DynOf<Type>where
Type: Sync,
impl<Type> Unpin for DynOf<Type>where
Type: Unpin,
impl<Type> UnwindSafe for DynOf<Type>where
Type: 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