pub unsafe trait IGetMutUnchecked<T: ?Sized> {
    unsafe fn get_mut_unchecked(&self) -> &mut T;
}
Expand description

Safety

Rc::get_mut Too strict, resulting in limited function, we need an unsafe way to be consistent with the SharedPtr

Required methods

Safety

no check unique,return &mut T panic!! ptr is none

Implementors