pub struct BoolRing(pub bool);Expand description
The two-element boolean semiring: add is OR, mul is AND.
Tuple Fields§
§0: boolTrait Implementations§
impl Copy for BoolRing
impl Eq for BoolRing
Source§impl Semiring for BoolRing
impl Semiring for BoolRing
impl StructuralPartialEq for BoolRing
Auto Trait Implementations§
impl Freeze for BoolRing
impl RefUnwindSafe for BoolRing
impl Send for BoolRing
impl Sync for BoolRing
impl Unpin for BoolRing
impl UnsafeUnpin for BoolRing
impl UnwindSafe for BoolRing
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