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§
Source§impl Ord for Curry
impl Ord for Curry
Source§impl PartialOrd for Curry
impl PartialOrd for Curry
impl Copy for Curry
impl Eq 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 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