pub struct Curry { /* private fields */ }Expand description
Takes a function that takes two arguments and the first argument to said function,
and returns a function that takes the second argument and runs the function with both.
See Curried.
λf.λx.(λy.fxy)Trait Implementations§
impl Copy for Curry
impl Eq for Curry
Source§impl Ord for Curry
impl Ord for Curry
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 Curry
impl PartialOrd for Curry
impl StructuralPartialEq for Curry
Auto Trait Implementations§
impl Freeze for Curry
impl RefUnwindSafe for Curry
impl Send for Curry
impl Sync for Curry
impl Unpin for Curry
impl UnsafeUnpin for Curry
impl UnwindSafe for Curry
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