Struct lambda_types::boolean::If
source · pub struct If { /* private fields */ }
Expand description
Alternation. Takes a church boolean and two values, and returns the first if the boolean is true, otherwise the second.
λp.λa.λb.pab
Trait Implementations§
source§impl Ord for If
impl Ord for If
source§impl PartialOrd for If
impl PartialOrd for If
impl Copy for If
impl Eq for If
impl StructuralPartialEq for If
Auto Trait Implementations§
impl Freeze for If
impl RefUnwindSafe for If
impl Send for If
impl Sync for If
impl Unpin for If
impl UnwindSafe for If
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)