pub struct Subcontext { /* private fields */ }Expand description
Subcontexts are type of Context that inherit the data from their parents,
but evaluations do not affect the parent’s data.
Subcontexts can outlive their parent contexts.
They are obtained by calling Context::new_subcontext.
Trait Implementations§
Source§impl Drop for Subcontext
impl Drop for Subcontext
Source§impl RunnableContext for Subcontext
impl RunnableContext for Subcontext
impl Send for Subcontext
Safety: The same considerations apply to Subcontext as to Context.
impl Sync for Subcontext
Safety: The only method available takes an exclusive borrow.
Auto Trait Implementations§
impl Freeze for Subcontext
impl RefUnwindSafe for Subcontext
impl Unpin for Subcontext
impl UnwindSafe for Subcontext
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