pub struct Exclusive<'a, T>(pub &'a mut T);
Expand description
Newtype over &'a mut T
that implements the Mutex
trait
The Mutex
implementation for this type is a no-op: no critical section is created
Tuple Fields§
§0: &'a mut T
pub struct Exclusive<'a, T>(pub &'a mut T);
Newtype over &'a mut T
that implements the Mutex
trait
The Mutex
implementation for this type is a no-op: no critical section is created
0: &'a mut T