pub trait SafeRcMakeMut: SafeDelete {
// Required method
fn rc_make_mut(rc: &mut Rc<Self>) -> &mut Self;
}Expand description
Rc::make_mut glue.
Required Methods§
fn rc_make_mut(rc: &mut Rc<Self>) -> &mut Self
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.