pub unsafe fn as_mut(&self) -> &mut T {
        #[cfg(any(feature = "use_pspd", feature = "use_vspd"))] {
            if let Some(tmp) = *self.temp {
                &mut *tmp
            } else {
                &mut *self.value.get()
            }
        }
    
        #[cfg(not(any(feature = "use_pspd", feature = "use_vspd")))] {
            &mut (*self.value.get()).1
        }
    }
/// Returns a mutable reference to the underlying data without logging
///
/// # Safety
/// 
/// This function violates borrow rules as it allows multiple mutable
/// references.
///
/// # Examples
///
/// ```
/// use corundum::default::*;
/// use corundum::cell::PRefCell;
/// 
/// type P = Allocator;
/// 
/// let root = P::open::<PRefCell<i32,P>>("foo.pool", O_CF).unwrap();
/// 
/// unsafe {
///     let mut data = root.as_mut();
///     *data = 20;
/// }
/// 
/// ```
Returns a mutable reference to the underlying data without logging
Returns a mutable reference to the underlying data without logging
pub unsafe fn as_mut(&self) -> &mut T {
        #[cfg(any(feature = "use_pspd", feature = "use_vspd"))] {
            if let Some(tmp) = *self.temp {
                &mut *tmp
            } else {
                &mut *self.value.get()
            }
        }
        #[cfg(not(any(feature = "use_pspd", feature = "use_vspd")))] {
            &mut (*self.value.get()).1
        }
    }
pub unsafe fn as_mut ( & self ) -> & mut T { # [ cfg ( any ( feature " " feature " " ) ) ] { if let Some ( tmp ) = * self . temp { & mut * tmp } else { & mut * self . value . get ( ) } } # [ cfg ( not ( any ( feature " " feature " " ) ) ) ] { & mut ( * self . value . get ( ) ) . 1 } }
Returns a mutable reference to the underlying data without logging
Returns a mutable reference to the underlying data without logging
&self
safety
This function violates borrow rules as it allows multiple mutable
references.
This function violates borrow rules as it allows multiple mutable references .
examples
```
use corundum::default::*;
use corundum::cell::PRefCell.

type P = Allocator.



unsafe {
let mut data = root.as_mut();
data = 20;
}


` ` ` use corundum :: default :: * ; use corundum :: cell :: PRefCell . type P = Allocator . unsafe { let mut data = root . as_mut () ; data = 20 ; }