pub struct DefaultUser {}Implementations§
Source§impl DefaultUser
impl DefaultUser
pub fn new() -> DefaultUser
Trait Implementations§
Source§impl Clone for DefaultUser
impl Clone for DefaultUser
Source§fn clone(&self) -> DefaultUser
fn clone(&self) -> DefaultUser
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DefaultUser
impl Debug for DefaultUser
Source§impl Default for DefaultUser
impl Default for DefaultUser
Source§fn default() -> DefaultUser
fn default() -> DefaultUser
Returns the “default value” for a type. Read more
Source§impl Display for DefaultUser
impl Display for DefaultUser
Source§impl User for DefaultUser
impl User for DefaultUser
type UserTerm = ()
Source§type UserContext = ()
type UserContext = ()
Type of data-structure stored in the Engine-instance. Retrievable
with Engine::context().
Source§fn process_extension<E: Engine<Self>>(
state: State<Self, E>,
_extension: &SMap<Self, E>,
) -> SResult<Self, E>
fn process_extension<E: Engine<Self>>( state: State<Self, E>, _extension: &SMap<Self, E>, ) -> SResult<Self, E>
Process extension to substitution map.
fn unify<E: Engine<Self>>( _state: State<Self, E>, _extension: &mut SMap<Self, E>, _uwalk: LTerm<Self, E>, _vwalk: LTerm<Self, E>, ) -> SResult<Self, E>
Source§fn with_constraint<E: Engine<Self>>(
_state: &mut State<Self, E>,
_constraint: &Rc<dyn Constraint<Self, E>>,
)
fn with_constraint<E: Engine<Self>>( _state: &mut State<Self, E>, _constraint: &Rc<dyn Constraint<Self, E>>, )
Called before the constraint is added to the state
Source§fn take_constraint<E: Engine<Self>>(
_state: &mut State<Self, E>,
_constraint: &Rc<dyn Constraint<Self, E>>,
)
fn take_constraint<E: Engine<Self>>( _state: &mut State<Self, E>, _constraint: &Rc<dyn Constraint<Self, E>>, )
Called after the constraint has been removed from the state
Source§fn enforce_constraints<E: Engine<Self>>(_x: LTerm<Self, E>) -> Goal<Self, E>
fn enforce_constraints<E: Engine<Self>>(_x: LTerm<Self, E>) -> Goal<Self, E>
Called in reification when constraints are finalized. For example finite domain
constraints are converted to sequences of integers.
fn finalize<E: Engine<Self>>(_state: &mut State<Self, E>)
fn reify<E: Engine<Self>>(_state: &mut State<Self, E>)
Auto Trait Implementations§
impl Freeze for DefaultUser
impl RefUnwindSafe for DefaultUser
impl Send for DefaultUser
impl Sync for DefaultUser
impl Unpin for DefaultUser
impl UnsafeUnpin for DefaultUser
impl UnwindSafe for DefaultUser
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