pub fn new(t: T) -> Mutex<T> {
        Mutex {
            inner: Box::new(StaticMutex::new()),
            data: UnsafeCell::new(t),
        }
    }
/// Creates a new mutex in an unlocked state ready for use.
Creates a new mutex in an unlocked state ready for use.
Creates a new mutex in an unlocked state ready for use .
pub fn new(t: T) -> Mutex<T> {
        Mutex {
            inner: Box::new(StaticMutex::new()),
            data: UnsafeCell::new(t),
        }
    }
pub fn new ( t : T ) -> Mutex < T > { Mutex { inner : Box :: new ( StaticMutex :: new ( ) ) , data : UnsafeCell :: new ( t ) , } }
Creates a new mutex in an unlocked state ready for use.
Creates a new mutex in an unlocked state ready for use .
t
T
t
T