Skip to main content

SafeRcMakeMut

Trait SafeRcMakeMut 

Source
pub trait SafeRcMakeMut: SafeDelete {
    // Required method
    fn rc_make_mut(rc: &mut Rc<Self>) -> &mut Self;
}
Expand description

Rc::make_mut glue.

Required Methods§

Source

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.

Implementations on Foreign Types§

Source§

impl SafeRcMakeMut for ()

Source§

fn rc_make_mut(rc: &mut Rc<Self>) -> &mut Self

Source§

impl SafeRcMakeMut for String

Source§

fn rc_make_mut(rc: &mut Rc<Self>) -> &mut Self

Source§

impl SafeRcMakeMut for BigInt

Source§

fn rc_make_mut(rc: &mut Rc<Self>) -> &mut Self

Source§

impl SafeRcMakeMut for CellBuilder

Source§

fn rc_make_mut(rc: &mut Rc<Self>) -> &mut Self

Source§

impl SafeRcMakeMut for Cell

Source§

fn rc_make_mut(rc: &mut Rc<Self>) -> &mut Self

Source§

impl<T: Clone + 'static> SafeRcMakeMut for Box<T>

Source§

fn rc_make_mut(rc: &mut Rc<Self>) -> &mut Self

Source§

impl<T: Clone + 'static> SafeRcMakeMut for Vec<T>

Source§

fn rc_make_mut(rc: &mut Rc<Self>) -> &mut Self

Source§

impl<T: ?Sized + 'static> SafeRcMakeMut for Rc<T>

Source§

fn rc_make_mut(rc: &mut Rc<Self>) -> &mut Self

Source§

impl<T: ?Sized + 'static> SafeRcMakeMut for Arc<T>

Source§

fn rc_make_mut(rc: &mut Rc<Self>) -> &mut Self

Implementors§