pub struct ThreadRuntime { /* private fields */ }
Expand description
The per-thread reax runtime responsible for tracking changes and dependencies.
Implementations§
Source§impl ThreadRuntime
impl ThreadRuntime
Sourcepub fn replace_current(self) -> ThreadRuntime
pub fn replace_current(self) -> ThreadRuntime
Replaces the runtime of the current thread with self, returning the old runtime. All information about existing nodes on this thread will be lost so be careful.
Trait Implementations§
Source§impl Debug for ThreadRuntime
impl Debug for ThreadRuntime
Source§impl Default for ThreadRuntime
impl Default for ThreadRuntime
Source§fn default() -> ThreadRuntime
fn default() -> ThreadRuntime
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ThreadRuntime
impl !RefUnwindSafe for ThreadRuntime
impl !Send for ThreadRuntime
impl !Sync for ThreadRuntime
impl Unpin for ThreadRuntime
impl !UnwindSafe for ThreadRuntime
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