pub struct ProductTerm2Facts {
pub factor_zero: [ZeroStatus; 2],
pub term_zero: ZeroStatus,
}Expand description
Cheap zero facts for one pairwise product left * right.
This records only structural zero knowledge for the product term. It does not simplify symbolic expressions, compare magnitudes, or decide signs.
Fields§
§factor_zero: [ZeroStatus; 2]Zero status for the two product factors.
term_zero: ZeroStatusZero status for the product term itself.
Implementations§
Source§impl ProductTerm2Facts
impl ProductTerm2Facts
Sourcepub const fn known_zero(self) -> bool
pub const fn known_zero(self) -> bool
Return whether the product term is known to be exactly zero.
Sourcepub const fn known_nonzero(self) -> bool
pub const fn known_nonzero(self) -> bool
Return whether the product term is known not to be zero.
Sourcepub const fn unknown_zero(self) -> bool
pub const fn unknown_zero(self) -> bool
Return whether the product term zero status is unknown.
Trait Implementations§
Source§impl Clone for ProductTerm2Facts
impl Clone for ProductTerm2Facts
Source§fn clone(&self) -> ProductTerm2Facts
fn clone(&self) -> ProductTerm2Facts
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 ProductTerm2Facts
Source§impl Debug for ProductTerm2Facts
impl Debug for ProductTerm2Facts
impl Eq for ProductTerm2Facts
Source§impl PartialEq for ProductTerm2Facts
impl PartialEq for ProductTerm2Facts
Source§fn eq(&self, other: &ProductTerm2Facts) -> bool
fn eq(&self, other: &ProductTerm2Facts) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProductTerm2Facts
Auto Trait Implementations§
impl Freeze for ProductTerm2Facts
impl RefUnwindSafe for ProductTerm2Facts
impl Send for ProductTerm2Facts
impl Sync for ProductTerm2Facts
impl Unpin for ProductTerm2Facts
impl UnsafeUnpin for ProductTerm2Facts
impl UnwindSafe for ProductTerm2Facts
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