pub fn is_writable(&self) -> bool {
        // Safety: Since we have a reference to this shared, we know that the
        // inner is available.
        unsafe { self.inner.as_ref().access.is_exclusive() }
    }
/// Test if the value is exclusively accessible.
///
/// # Examples
///
/// ```rust
/// use runestick::Shared;
/// let shared = Shared::new(1u32);
/// assert!(shared.is_writable());
///
/// {
///     let guard = shared.borrow_ref().unwrap();
///     assert!(!shared.is_writable());
/// }
///
/// assert!(shared.is_writable());
/// ```
Test if the value is exclusively accessible.
Test if the value is exclusively accessible .
pub fn is_writable(&self) -> bool {
        // Safety: Since we have a reference to this shared, we know that the
        // inner is available.
        unsafe { self.inner.as_ref().access.is_exclusive() }
    }
pub fn is_writable ( & self ) -> bool { // Safety: Since we have a reference to this shared, we know that the // inner is available. unsafe { self . inner . as_ref ( ) . access . is_exclusive ( ) } }
Test if the value is exclusively accessible.
Test if the value is exclusively accessible .
&self
&self
examples
```rust
use runestick::Shared;
let shared = Shared::new(1u32);
assert!(shared.is_writable()).

{
let guard = shared.borrow_ref().unwrap();
assert!(!shared.is_writable());
}

assert!(shared.is_writable());
```
` ` ` rust use runestick :: Shared ; let shared = Shared :: new ( 1u32 ) ; assert! ( shared . is_writable () ) . { let guard = shared . borrow_ref () . unwrap () ; assert! ( !shared . is_writable () ) ; } assert! ( shared . is_writable () ) ; ` ` `