pub const fn new(val: Option<T>, l: L) -> AtomicOptionCell<T, L> {
        AtomicOptionCell {
            value: (UnsafeCell::new(val), l),
        }
    }
/// Creates a new atomic cell initialized with `val`.
///
/// # Examples
///
/// ```
/// use atomic_option_cell::{AtomicOptionCell, Mutex};
///
/// let a = AtomicOptionCell::new(Some(7), Mutex::new(()));
/// ```
Creates a new atomic cell initialized with `val`.
Creates a new atomic cell initialized with ` val ` .
pub const fn new(val: Option<T>, l: L) -> AtomicOptionCell<T, L> {
        AtomicOptionCell {
            value: (UnsafeCell::new(val), l),
        }
    }
pub const fn new ( val : Option < T > , l : L ) -> AtomicOptionCell < T , L > { AtomicOptionCell { value : ( UnsafeCell :: new ( val ) , l ) , } }
Creates a new atomic cell initialized with `val`.
Creates a new atomic cell initialized with ` val ` .
val
Option<T>
l
L
val
Option<T>
l
L
examples
```
use atomic_option_cell::{AtomicOptionCell, Mutex}.


` ` ` use atomic_option_cell :: { AtomicOptionCell Mutex } .