pub enum PrologMode {
In,
Out,
InOut,
Meta,
NotFurther,
}Expand description
Prolog argument mode.
Variants§
In
+ — argument must be instantiated.
Out
- — argument will be instantiated by the predicate.
InOut
? — argument may or may not be instantiated.
Meta
: — meta-argument (goal, callable).
NotFurther
@ — argument will not be further instantiated.
Trait Implementations§
Source§impl Clone for PrologMode
impl Clone for PrologMode
Source§fn clone(&self) -> PrologMode
fn clone(&self) -> PrologMode
Returns a duplicate 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 Debug for PrologMode
impl Debug for PrologMode
Source§impl Display for PrologMode
impl Display for PrologMode
Source§impl PartialEq for PrologMode
impl PartialEq for PrologMode
impl StructuralPartialEq for PrologMode
Auto Trait Implementations§
impl Freeze for PrologMode
impl RefUnwindSafe for PrologMode
impl Send for PrologMode
impl Sync for PrologMode
impl Unpin for PrologMode
impl UnsafeUnpin for PrologMode
impl UnwindSafe for PrologMode
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