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