Struct rustc_data_structures::sync::MTLock
[−]
[src]
pub struct MTLock<T>(_);
Methods
impl<T> MTLock<T>[src]
pub fn new(inner: T) -> Self[src]
pub fn into_inner(self) -> T[src]
ⓘImportant traits for &'a mut Wpub fn get_mut(&mut self) -> &mut T[src]
ⓘImportant traits for &'a mut W
ⓘImportant traits for &'a mut Wpub fn lock(&self) -> &T[src]
ⓘImportant traits for &'a mut W
ⓘImportant traits for &'a mut Wpub fn borrow(&self) -> &T[src]
ⓘImportant traits for &'a mut W
ⓘImportant traits for &'a mut Wpub fn borrow_mut(&self) -> &T[src]
ⓘImportant traits for &'a mut W
Trait Implementations
impl<T: Debug> Debug for MTLock<T>[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more