Struct mut_static::MutStatic
[−]
[src]
pub struct MutStatic<T> { /* fields omitted */ }
Methods
impl<T> MutStatic<T> where
T: Any,
[src]
T: Any,
fn new() -> Self
fn is_set(&self) -> Result<bool>
fn read(&self) -> Result<ForceSomeRwLockReadGuard<T>>
fn set(&self, value: T) -> Result<()>
fn write(&self) -> Result<ForceSomeRwLockWriteGuard<T>>
Trait Implementations
impl<T> Sync for MutStatic<T> where
T: Sync,
[src]
T: Sync,
impl<T> From<T> for MutStatic<T>
[src]
fn from(value: T) -> Self
Performs the conversion.