pub struct Successor { /* private fields */ }Expand description
Successor function. Returns a number plus one.
λn.λf.λx.f(nfx)Trait Implementations§
impl Copy for Successor
impl Eq for Successor
Source§impl Ord for Successor
impl Ord for Successor
1.21.0 (const: unstable) · 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 PartialOrd for Successor
impl PartialOrd for Successor
impl StructuralPartialEq for Successor
Auto Trait Implementations§
impl Freeze for Successor
impl RefUnwindSafe for Successor
impl Send for Successor
impl Sync for Successor
impl Unpin for Successor
impl UnsafeUnpin for Successor
impl UnwindSafe for Successor
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