pub enum BoolReflect {
IsTrue,
IsFalse,
}Expand description
Reflection between bool and decidable propositions.
Given a Decision<()>, BoolReflect bridges the computational Bool
world and the propositional Prop world.
Variants§
IsTrue
The boolean is true and the proposition holds.
IsFalse
The boolean is false and the proposition does not hold.
Implementations§
Source§impl BoolReflect
impl BoolReflect
Trait Implementations§
Source§impl Clone for BoolReflect
impl Clone for BoolReflect
Source§fn clone(&self) -> BoolReflect
fn clone(&self) -> BoolReflect
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BoolReflect
impl Debug for BoolReflect
Source§impl From<bool> for BoolReflect
impl From<bool> for BoolReflect
Source§impl PartialEq for BoolReflect
impl PartialEq for BoolReflect
impl Eq for BoolReflect
impl StructuralPartialEq for BoolReflect
Auto Trait Implementations§
impl Freeze for BoolReflect
impl RefUnwindSafe for BoolReflect
impl Send for BoolReflect
impl Sync for BoolReflect
impl Unpin for BoolReflect
impl UnsafeUnpin for BoolReflect
impl UnwindSafe for BoolReflect
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