pub enum ParamValuation {
False,
True,
Dependent,
Unknown,
}
Variants§
Implementations§
Source§impl ParamValuation
impl ParamValuation
pub fn from_bool(value: bool) -> Self
pub fn from_three_valued(three_valued: ThreeValued) -> Self
pub fn try_into_bool(self) -> Option<bool>
pub fn is_unknown(&self) -> bool
pub fn is_known(&self) -> bool
pub fn upward_bitand_ordering(self, rhs: &Self) -> Ordering
pub fn upward_bitor_ordering(self, rhs: &Self) -> Ordering
Trait Implementations§
Source§impl BitAnd for ParamValuation
impl BitAnd for ParamValuation
Source§impl BitOr for ParamValuation
impl BitOr for ParamValuation
Source§impl Clone for ParamValuation
impl Clone for ParamValuation
Source§fn clone(&self) -> ParamValuation
fn clone(&self) -> ParamValuation
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 ParamValuation
impl Debug for ParamValuation
Source§impl<'de> Deserialize<'de> for ParamValuation
impl<'de> Deserialize<'de> for ParamValuation
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 Display for ParamValuation
impl Display for ParamValuation
Source§impl Hash for ParamValuation
impl Hash for ParamValuation
Source§impl Not for ParamValuation
impl Not for ParamValuation
Source§impl PartialEq for ParamValuation
impl PartialEq for ParamValuation
Source§impl Serialize for ParamValuation
impl Serialize for ParamValuation
impl Copy for ParamValuation
impl Eq for ParamValuation
impl StructuralPartialEq for ParamValuation
Auto Trait Implementations§
impl Freeze for ParamValuation
impl RefUnwindSafe for ParamValuation
impl Send for ParamValuation
impl Sync for ParamValuation
impl Unpin for ParamValuation
impl UnwindSafe for ParamValuation
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