pub fn to_mut(this: &mut Self) -> &mut T {
        unsafe {
            if !this.is_owned {
                let b: Box<T> = this.to_owned().into();
                this.ptr = NonNull::new_unchecked(Box::into_raw(b));
                this.is_owned = true;
            }

            &mut *this.ptr.as_mut()
        }
    }
/// Returns a mutable reference to the value, cloning it if it was
/// not owned.
Returns a mutable reference to the value, cloning it if it was
not owned.
Returns a mutable reference to the value cloning it if it was not owned .
pub fn to_mut(this: &mut Self) -> &mut T {
        unsafe {
            if !this.is_owned {
                let b: Box<T> = this.to_owned().into();
                this.ptr = NonNull::new_unchecked(Box::into_raw(b));
                this.is_owned = true;
            }
            &mut *this.ptr.as_mut()
        }
    }
pub fn to_mut ( this : & mut Self ) -> & mut T { unsafe { if ! this . is_owned { let b : Box < T > = this . to_owned ( ) . into ( ) ; this . ptr = NonNull :: new_unchecked ( Box :: into_raw ( b ) ) ; this . is_owned = true ; } & mut * this . ptr . as_mut ( ) } }
Returns a mutable reference to the value, cloning it if it was
not owned.
Returns a mutable reference to the value cloning it if it was not owned .
this
&mut Self