pub struct BoolAlgebra {
pub carrier_size: usize,
pub involutive: bool,
pub de_morgan: bool,
}Expand description
Boolean algebra structure witnessing the laws of a Boolean algebra.
Fields§
§carrier_size: usizeThe carrier set size (2 for the standard Boolean algebra B2).
involutive: boolWhether complementation is involutive: ¬¬a = a.
de_morgan: boolWhether the structure satisfies De Morgan laws.
Auto Trait Implementations§
impl Freeze for BoolAlgebra
impl RefUnwindSafe for BoolAlgebra
impl Send for BoolAlgebra
impl Sync for BoolAlgebra
impl Unpin for BoolAlgebra
impl UnsafeUnpin for BoolAlgebra
impl UnwindSafe for BoolAlgebra
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