pub struct SimpleContextFactory;Expand description
Factory producing contexts containing only the necessary data and noting more.
Trait Implementations§
source§impl Clone for SimpleContextFactory
impl Clone for SimpleContextFactory
source§fn clone(&self) -> SimpleContextFactory
fn clone(&self) -> SimpleContextFactory
Returns a copy 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 ContextFactory for SimpleContextFactory
impl ContextFactory for SimpleContextFactory
source§fn create_context<'a>(
&self,
registry: &'a dyn ComponentDefinitionRegistryFacade
) -> Box<dyn Context + 'a>
fn create_context<'a>( &self, registry: &'a dyn ComponentDefinitionRegistryFacade ) -> Box<dyn Context + 'a>
Creates a new context when starting evaluation.
source§impl Debug for SimpleContextFactory
impl Debug for SimpleContextFactory
source§impl Default for SimpleContextFactory
impl Default for SimpleContextFactory
source§fn default() -> SimpleContextFactory
fn default() -> SimpleContextFactory
Returns the “default value” for a type. Read more
source§impl PartialEq<SimpleContextFactory> for SimpleContextFactory
impl PartialEq<SimpleContextFactory> for SimpleContextFactory
source§fn eq(&self, other: &SimpleContextFactory) -> bool
fn eq(&self, other: &SimpleContextFactory) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for SimpleContextFactory
impl Eq for SimpleContextFactory
impl StructuralEq for SimpleContextFactory
impl StructuralPartialEq for SimpleContextFactory
Auto Trait Implementations§
impl RefUnwindSafe for SimpleContextFactory
impl Send for SimpleContextFactory
impl Sync for SimpleContextFactory
impl Unpin for SimpleContextFactory
impl UnwindSafe for SimpleContextFactory
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