pub struct TruthSet(/* private fields */);Expand description
An over-approximation of the truth values an expression can produce.
Implementations§
Source§impl TruthSet
impl TruthSet
pub const fn empty() -> Self
pub const fn all() -> Self
pub const fn singleton(value: TruthValue) -> Self
pub const fn contains(self, value: TruthValue) -> bool
pub const fn union(self, other: Self) -> Self
pub fn and(self, other: Self) -> Self
pub fn or(self, other: Self) -> Self
Trait Implementations§
impl Copy for TruthSet
impl Eq for TruthSet
impl StructuralPartialEq for TruthSet
Auto Trait Implementations§
impl Freeze for TruthSet
impl RefUnwindSafe for TruthSet
impl Send for TruthSet
impl Sync for TruthSet
impl Unpin for TruthSet
impl UnsafeUnpin for TruthSet
impl UnwindSafe for TruthSet
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