pub enum Op {
Compose,
Path,
Apply,
Constrain,
Type,
}
Expand description
Binary operation on functions.
Variants§
Compose
Function composition f . g
Path
Path f[g]
Apply
Apply function to some argument.
Constrain
Constrain function input.
Type
Type judgement.
Trait Implementations§
source§impl PartialOrd for Op
impl PartialOrd for Op
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Op
impl Eq for Op
impl StructuralEq for Op
impl StructuralPartialEq for Op
Auto Trait Implementations§
impl RefUnwindSafe for Op
impl Send for Op
impl Sync for Op
impl Unpin for Op
impl UnwindSafe for Op
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