pub struct Program<P: Predicate> { /* private fields */ }Expand description
A compiled logic program.
Programs are created by compiling IR.
Once you have a compiled program, use a Query
to run it against your Model.
Trait Implementations§
impl<P: Eq + Predicate> Eq for Program<P>
impl<P: Predicate> StructuralPartialEq for Program<P>
Auto Trait Implementations§
impl<P> Freeze for Program<P>
impl<P> RefUnwindSafe for Program<P>where
P: RefUnwindSafe,
impl<P> Send for Program<P>where
P: Send,
impl<P> Sync for Program<P>where
P: Sync,
impl<P> Unpin for Program<P>
impl<P> UnwindSafe for Program<P>where
P: UnwindSafe,
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