pub struct Arrow<'f, I, O: Clone>(/* private fields */);
Implementations§
Source§impl<'f, I, O> Arrow<'f, I, O>
impl<'f, I, O> Arrow<'f, I, O>
pub fn request(i: I) -> Fx<'f, Self, O>where
I: Clone,
pub fn handler<F, B, V>(f: F) -> Handler<'f, (Self, B), B, V, V>
pub fn new<F>(f: F) -> Self
pub fn apply(self, i: I) -> O
pub fn clone_boxed(&self) -> Box<dyn FnOnce(I) -> O + 'f>
pub fn adapt<T, U, H, F>(self, cmap: H, fmap: F) -> Arrow<'f, T, U>
Trait Implementations§
Auto Trait Implementations§
impl<'f, I, O> Freeze for Arrow<'f, I, O>
impl<'f, I, O> !RefUnwindSafe for Arrow<'f, I, O>
impl<'f, I, O> !Send for Arrow<'f, I, O>
impl<'f, I, O> !Sync for Arrow<'f, I, O>
impl<'f, I, O> Unpin for Arrow<'f, I, O>
impl<'f, I, O> !UnwindSafe for Arrow<'f, I, O>
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