Struct bounded_collections::GetDefault
source · pub struct GetDefault;
Expand description
Implement Get by returning Default for any type that implements Default.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for GetDefault
impl Send for GetDefault
impl Sync for GetDefault
impl Unpin for GetDefault
impl UnwindSafe for GetDefault
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