pub enum ConstraintValue {
Term(Term),
Ref(Ref),
Field(String),
}
Variants§
Trait Implementations§
source§impl Clone for ConstraintValue
impl Clone for ConstraintValue
source§fn clone(&self) -> ConstraintValue
fn clone(&self) -> ConstraintValue
Returns a copy 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 ConstraintValue
impl Debug for ConstraintValue
source§impl<'de> Deserialize<'de> for ConstraintValue
impl<'de> Deserialize<'de> for ConstraintValue
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for ConstraintValue
impl Hash for ConstraintValue
source§impl PartialEq for ConstraintValue
impl PartialEq for ConstraintValue
source§fn eq(&self, other: &ConstraintValue) -> bool
fn eq(&self, other: &ConstraintValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ConstraintValue
impl Serialize for ConstraintValue
impl Eq for ConstraintValue
impl StructuralEq for ConstraintValue
impl StructuralPartialEq for ConstraintValue
Auto Trait Implementations§
impl RefUnwindSafe for ConstraintValue
impl Send for ConstraintValue
impl Sync for ConstraintValue
impl Unpin for ConstraintValue
impl UnwindSafe for ConstraintValue
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