pub struct PushThreadDefault<'a> { /* private fields */ }
Expand description
An RAII struct that is returned from push_thread_default
to pop the
default when it goes out of scope.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PushThreadDefault<'a>
impl<'a> RefUnwindSafe for PushThreadDefault<'a>
impl<'a> Send for PushThreadDefault<'a>
impl<'a> Sync for PushThreadDefault<'a>
impl<'a> Unpin for PushThreadDefault<'a>
impl<'a> UnwindSafe for PushThreadDefault<'a>
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