pub struct HeapAlloc<T>where T: Clone,{ pub default_value: T, }
default_value: T
TypeId
self
Returns the argument unchanged.
Calls U::from(self).
U::from(self)
That is, this conversion is whatever the implementation of From<T> for U chooses to do.
From<T> for U