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 ==.