#[repr(align(64))]pub struct Local<T>(/* private fields */);
Expand description
A wrapper for an instance of T
that can be managed by a
BoundedThreadLocal
.
Implementations§
Trait Implementations§
impl<T> Send for Local<T>
impl<T> Sync for Local<T>
Auto Trait Implementations§
impl<T> !Freeze for Local<T>
impl<T> !RefUnwindSafe for Local<T>
impl<T> Unpin for Local<T>where
T: Unpin,
impl<T> UnwindSafe for Local<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more