Struct lambda_types::primitives::Curried
source · pub struct Curried<Fn, X> { /* private fields */ }
Expand description
Function that curries the first type argument with the second and the input. See Curry
.
λy.FXy
Trait Implementations§
source§impl<Fn: Ord, X: Ord> Ord for Curried<Fn, X>
impl<Fn: Ord, X: Ord> Ord for Curried<Fn, X>
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<Fn: PartialOrd, X: PartialOrd> PartialOrd for Curried<Fn, X>
impl<Fn: PartialOrd, X: PartialOrd> PartialOrd for Curried<Fn, X>
impl<Fn: Copy, X: Copy> Copy for Curried<Fn, X>
impl<Fn: Eq, X: Eq> Eq for Curried<Fn, X>
impl<Fn, X> StructuralPartialEq for Curried<Fn, X>
Auto Trait Implementations§
impl<Fn, X> Freeze for Curried<Fn, X>
impl<Fn, X> RefUnwindSafe for Curried<Fn, X>where
Fn: RefUnwindSafe,
X: RefUnwindSafe,
impl<Fn, X> Send for Curried<Fn, X>
impl<Fn, X> Sync for Curried<Fn, X>
impl<Fn, X> Unpin for Curried<Fn, X>
impl<Fn, X> UnwindSafe for Curried<Fn, X>where
Fn: UnwindSafe,
X: UnwindSafe,
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
)