pub struct StandardContext(/* private fields */);Expand description
This context type can be shared between threads safely
Implementations§
Trait Implementations§
Source§impl Clone for StandardContext
impl Clone for StandardContext
Source§fn clone(&self) -> StandardContext
fn clone(&self) -> StandardContext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Context for StandardContext
impl Context for StandardContext
Source§fn merge<T: Into<InnerData>>(&self, doc: T) -> Result<()>
fn merge<T: Into<InnerData>>(&self, doc: T) -> Result<()>
Merge the data into the root context
Source§fn merge_path<T>(&self, path: &[&InnerData], doc: T) -> Result<()>
fn merge_path<T>(&self, path: &[&InnerData], doc: T) -> Result<()>
Merge the data into the context at the specified path
Source§fn create_scope(&self) -> ScopedContext<'_>
fn create_scope(&self) -> ScopedContext<'_>
Enter a new scope
Source§impl Debug for StandardContext
impl Debug for StandardContext
Auto Trait Implementations§
impl Freeze for StandardContext
impl !RefUnwindSafe for StandardContext
impl Send for StandardContext
impl Sync for StandardContext
impl Unpin for StandardContext
impl UnsafeUnpin for StandardContext
impl !UnwindSafe for StandardContext
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