pub trait DefaultRetained {
// Required method
fn default_retained() -> Retained<Self> ⓘ;
}
Required Methods§
Sourcefn default_retained() -> Retained<Self> ⓘ
fn default_retained() -> Retained<Self> ⓘ
The default Retained
for a type.
On most objects the implementation would be sending a message to the
new
selector.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.