pub struct TRUE;
Expand description
§Proposition constructors
The following logical combinators exist to encode a basic propositional logic (specifically, the rules of intuitionistic natural deduction) into Rust’s typesystem. As usual, all of these types are zero-sized and will have no runtime impact.
With these combinators, users can construct their own proofs of properties that a library author may want to ensure (such as ensuring that a list is non-empty, a key exists in a map, and so on). The trivial true proposition.
Auto Trait Implementations§
impl Freeze for TRUE
impl RefUnwindSafe for TRUE
impl Send for TRUE
impl Sync for TRUE
impl Unpin for TRUE
impl UnwindSafe for TRUE
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