pub enum TruthValue {
True,
False,
Unknown,
Both,
}Expand description
Many-valued semantic truth value.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TruthValue
impl Clone for TruthValue
Source§fn clone(&self) -> TruthValue
fn clone(&self) -> TruthValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TruthValue
Source§impl Debug for TruthValue
impl Debug for TruthValue
impl Eq for TruthValue
Source§impl PartialEq for TruthValue
impl PartialEq for TruthValue
Source§fn eq(&self, other: &TruthValue) -> bool
fn eq(&self, other: &TruthValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TruthValue
Auto Trait Implementations§
impl Freeze for TruthValue
impl RefUnwindSafe for TruthValue
impl Send for TruthValue
impl Sync for TruthValue
impl Unpin for TruthValue
impl UnsafeUnpin for TruthValue
impl UnwindSafe for TruthValue
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