pub struct DefaultTrait<T, DS>{ /* private fields */ }Expand description
handles missing values by generating a replacement using the types Default implementation
Implementations§
Auto Trait Implementations§
impl<T, DS> Freeze for DefaultTrait<T, DS>where
DS: Freeze,
impl<T, DS> RefUnwindSafe for DefaultTrait<T, DS>where
DS: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, DS> Send for DefaultTrait<T, DS>
impl<T, DS> Sync for DefaultTrait<T, DS>
impl<T, DS> Unpin for DefaultTrait<T, DS>
impl<T, DS> UnwindSafe for DefaultTrait<T, DS>where
DS: UnwindSafe,
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