pub struct Engines<'a> { /* private fields */ }
Implementations§
source§impl<'a> Engines<'a>
impl<'a> Engines<'a>
pub fn new(
type_engine: &'a TypeEngine,
decl_engine: &'a DeclEngine
) -> Engines<'a>
pub fn te(&self) -> &TypeEngine
pub fn de(&self) -> &DeclEngine
sourcepub fn help_out<T>(&self, thing: T) -> WithEngines<'_, T>
pub fn help_out<T>(&self, thing: T) -> WithEngines<'_, T>
Helps out some thing: T
by adding self
as context.
sourcepub fn with_thing<T>(self, thing: T) -> WithEngines<'a, T>
pub fn with_thing<T>(self, thing: T) -> WithEngines<'a, T>
Helps out some thing: T
by adding self
as context.