Struct rustc_data_structures::sync::MTLock
source · [−]pub struct MTLock<T>(T);
Tuple Fields
0: T
Implementations
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for MTLock<T>where
T: RefUnwindSafe,
impl<T> Send for MTLock<T>where
T: Send,
impl<T> Sync for MTLock<T>where
T: Sync,
impl<T> Unpin for MTLock<T>where
T: Unpin,
impl<T> UnwindSafe for MTLock<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for Twhere
T: ?Sized,
impl<T> Erased for T
Layout
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.