pub(super) struct ScopeData {
num_running_threads: AtomicUsize,
a_thread_panicked: AtomicBool,
main_thread: Thread,
}
Fields§
§num_running_threads: AtomicUsize
§a_thread_panicked: AtomicBool
§main_thread: Thread
Implementations§
source§impl ScopeData
impl ScopeData
pub(super) fn increment_num_running_threads(&self)
pub(super) fn decrement_num_running_threads(&self, panic: bool)
Auto Trait Implementations§
impl RefUnwindSafe for ScopeData
impl Send for ScopeData
impl Sync for ScopeData
impl Unpin for ScopeData
impl UnwindSafe for ScopeData
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