pub enum SeqOp {
Map,
Filter,
Fold,
}Expand description
One higher-order sequence operation.
Variants§
Map
(seq/map f list) -> the list of f(x) for each x.
Filter
(seq/filter pred list) -> the elements for which pred(x) is truthy.
Fold
(seq/fold f init list) -> the left fold f(... f(f(init, x0), x1) ..., xn).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SeqOp
impl RefUnwindSafe for SeqOp
impl Send for SeqOp
impl Sync for SeqOp
impl Unpin for SeqOp
impl UnsafeUnpin for SeqOp
impl UnwindSafe for SeqOp
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