Struct swipl::context::ActivatedEngine
source · pub struct ActivatedEngine<'a> { /* private fields */ }
Expand description
Context type for an active engine. This wraps an EngineActivation
.
Example:
let engine = Engine::new();
let activation = engine.activate();
let context: Context<ActivatedEngine> = activation.into();
// Note: Context<_> would also work as a type annotation
Trait Implementations§
impl<'a> ContextType for ActivatedEngine<'a>
impl<'a> FrameableContextType for ActivatedEngine<'a>
impl<'a> QueryableContextType for ActivatedEngine<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ActivatedEngine<'a>
impl<'a> !Send for ActivatedEngine<'a>
impl<'a> !Sync for ActivatedEngine<'a>
impl<'a> Unpin for ActivatedEngine<'a>
impl<'a> UnwindSafe for ActivatedEngine<'a>
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