pub struct GroundAtom {
pub predicate: String,
pub args: Vec<Value>,
}Fields§
§predicate: String§args: Vec<Value>Implementations§
Trait Implementations§
Source§impl Clone for GroundAtom
impl Clone for GroundAtom
Source§fn clone(&self) -> GroundAtom
fn clone(&self) -> GroundAtom
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 GroundAtom
impl Debug for GroundAtom
Source§impl Hash for GroundAtom
impl Hash for GroundAtom
Source§impl Ord for GroundAtom
impl Ord for GroundAtom
Source§fn cmp(&self, other: &GroundAtom) -> Ordering
fn cmp(&self, other: &GroundAtom) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GroundAtom
impl PartialEq for GroundAtom
Source§impl PartialOrd for GroundAtom
impl PartialOrd for GroundAtom
impl Eq for GroundAtom
impl StructuralPartialEq for GroundAtom
Auto Trait Implementations§
impl Freeze for GroundAtom
impl RefUnwindSafe for GroundAtom
impl Send for GroundAtom
impl Sync for GroundAtom
impl Unpin for GroundAtom
impl UnsafeUnpin for GroundAtom
impl UnwindSafe for GroundAtom
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