pub struct EirAtom {
pub predicate: String,
pub arity: usize,
pub terms: Vec<EirTerm>,
}Expand description
Atom summary carried across the EIR boundary.
Fields§
§predicate: StringPredicate name.
arity: usizePredicate arity.
terms: Vec<EirTerm>Source atom terms preserved for tuple-key matching.
Trait Implementations§
impl Eq for EirAtom
impl StructuralPartialEq for EirAtom
Auto Trait Implementations§
impl Freeze for EirAtom
impl RefUnwindSafe for EirAtom
impl Send for EirAtom
impl Sync for EirAtom
impl Unpin for EirAtom
impl UnsafeUnpin for EirAtom
impl UnwindSafe for EirAtom
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more