pub enum Truth {
Always,
Never,
Either,
}Expand description
Whether a comparison is settled, and which way.
Variants§
Always
It holds however the operands come out, so the comparison folds to one.
Never
It never holds, so it folds to zero.
Either
The ranges do not settle it.
Trait Implementations§
impl Copy for Truth
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