pub struct Predecessor { /* private fields */ }
Expand description
Predecessor function. Gets the number below a given church numeral.
λn.λf.λx. n (λg.λh. h (g f)) (λu.x) (λu.u)
Trait Implementations§
Source§impl Clone for Predecessor
impl Clone for Predecessor
Source§fn clone(&self) -> Predecessor
fn clone(&self) -> Predecessor
Returns a copy 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 Predecessor
impl Debug for Predecessor
Source§impl Default for Predecessor
impl Default for Predecessor
Source§fn default() -> Predecessor
fn default() -> Predecessor
Returns the “default value” for a type. Read more
Source§impl Ord for Predecessor
impl Ord for Predecessor
Source§fn cmp(&self, other: &Predecessor) -> Ordering
fn cmp(&self, other: &Predecessor) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Predecessor
impl PartialEq for Predecessor
Source§impl PartialOrd for Predecessor
impl PartialOrd for Predecessor
impl Copy for Predecessor
impl Eq for Predecessor
impl StructuralPartialEq for Predecessor
Auto Trait Implementations§
impl Freeze for Predecessor
impl RefUnwindSafe for Predecessor
impl Send for Predecessor
impl Sync for Predecessor
impl Unpin for Predecessor
impl UnwindSafe for Predecessor
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