pub struct ArgumentId(/* private fields */);Expand description
Opaque identifier for an argument node in the weighted bipolar
framework. Constructed from a Literal via From.
Implementations§
Trait Implementations§
Source§impl Clone for ArgumentId
impl Clone for ArgumentId
Source§fn clone(&self) -> ArgumentId
fn clone(&self) -> ArgumentId
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 ArgumentId
impl Debug for ArgumentId
Source§impl Display for ArgumentId
impl Display for ArgumentId
Source§impl From<&Literal> for ArgumentId
impl From<&Literal> for ArgumentId
Source§fn from(lit: &Literal) -> Self
fn from(lit: &Literal) -> Self
Ambiguity warning. Literal::Atom("¬foo") and
Literal::Neg("foo") both render to "¬foo" and will
therefore collide on the same ArgumentId. Phase A accepts
this because the default scheme catalog never mints atoms whose
names begin with ¬; consumers minting literals dynamically
should avoid leading ¬ in atom names.
Source§impl From<Literal> for ArgumentId
impl From<Literal> for ArgumentId
Source§impl Hash for ArgumentId
impl Hash for ArgumentId
Source§impl Ord for ArgumentId
impl Ord for ArgumentId
Source§fn cmp(&self, other: &ArgumentId) -> Ordering
fn cmp(&self, other: &ArgumentId) -> 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 ArgumentId
impl PartialEq for ArgumentId
Source§impl PartialOrd for ArgumentId
impl PartialOrd for ArgumentId
impl Eq for ArgumentId
impl StructuralPartialEq for ArgumentId
Auto Trait Implementations§
impl Freeze for ArgumentId
impl RefUnwindSafe for ArgumentId
impl Send for ArgumentId
impl Sync for ArgumentId
impl Unpin for ArgumentId
impl UnsafeUnpin for ArgumentId
impl UnwindSafe for ArgumentId
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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
§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
Compare self to
key and return true if they are equal.