pub struct Truth {
pub value: bool,
pub certainty: Certainty,
pub pass: PassName,
}Expand description
The recorded truth state of one Proposition.
Fields§
§value: boolThe polarity recorded for the proposition.
certainty: CertaintyGuess or proven fact.
pass: PassNameThe pass that recorded this entry (from crate::pass_scope).
Trait Implementations§
impl Copy for Truth
Source§impl<'de> Deserialize<'de> for Truth
impl<'de> Deserialize<'de> for Truth
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
impl Eq for Truth
impl StructuralPartialEq for Truth
Auto Trait Implementations§
impl Freeze for Truth
impl RefUnwindSafe for Truth
impl Send for Truth
impl Sync for Truth
impl Unpin for Truth
impl UnsafeUnpin for Truth
impl UnwindSafe for Truth
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