pub fn new(data: T) -> Self {
        let inner = Box::leak(Box::new(SharedBox {
            access: Access::new(false),
            count: Cell::new(1),
            data: data.into(),
        }));

        Self {
            inner: inner.into(),
        }
    }
/// Construct a new shared value.
Construct a new shared value.
Construct a new shared value .
pub fn new(data: T) -> Self {
        let inner = Box::leak(Box::new(SharedBox {
            access: Access::new(false),
            count: Cell::new(1),
            data: data.into(),
        }));
        Self {
            inner: inner.into(),
        }
    }
pub fn new ( data : T ) -> Self { let inner = Box :: leak ( Box :: new ( SharedBox { access : Access :: new ( false ) , count : Cell :: new ( 1 ) , data : data . into ( ) , } ) ) ; Self { inner : inner . into ( ) , } }
Construct a new shared value.
Construct a new shared value .
data
T
data
T