pub enum BuiltinKind {
Control,
Inline,
Det,
Atom,
}Expand description
Where a name is handled, used only to partition the validation that codegen/runtime stay in sync with this table. Not a dispatch hint.
Variants§
Control
Control construct — handled structurally in codegen/runtime
(, ; -> \+ once catch throw findall call
between).
Inline
Inline goal — its own LGoal variant or an op-code table
(= \= is compare, arithmetic and term-order comparisons).
Det
Deterministic builtin dispatched to a plg_rt_b_* symbol
(the DET_BUILTINS set).
Atom
Reserved arity-0 atom goal (true fail false !).
Trait Implementations§
Source§impl Clone for BuiltinKind
impl Clone for BuiltinKind
Source§fn clone(&self) -> BuiltinKind
fn clone(&self) -> BuiltinKind
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 moreimpl Copy for BuiltinKind
Source§impl Debug for BuiltinKind
impl Debug for BuiltinKind
impl Eq for BuiltinKind
Source§impl PartialEq for BuiltinKind
impl PartialEq for BuiltinKind
Source§fn eq(&self, other: &BuiltinKind) -> bool
fn eq(&self, other: &BuiltinKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BuiltinKind
Auto Trait Implementations§
impl Freeze for BuiltinKind
impl RefUnwindSafe for BuiltinKind
impl Send for BuiltinKind
impl Sync for BuiltinKind
impl Unpin for BuiltinKind
impl UnsafeUnpin for BuiltinKind
impl UnwindSafe for BuiltinKind
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