[−][src]Struct fn_chain::Chainable
Chainable struct that permit user to rapidly call chain method to chain multiple function together using previous function returned value as input to the next function in chain.
It is usually construct by using function chain.
Implementations
impl<R> Chainable<R>
[src]
pub fn chain<CR, F>(self, func: F) -> Chainable<CR> where
F: FnOnce(R) -> CR,
[src]
F: FnOnce(R) -> CR,
pub fn end(self) -> R
[src]
Consume the chain and release it result
Trait Implementations
Auto Trait Implementations
impl<R> RefUnwindSafe for Chainable<R> where
R: RefUnwindSafe,
R: RefUnwindSafe,
impl<R> Send for Chainable<R> where
R: Send,
R: Send,
impl<R> Sync for Chainable<R> where
R: Sync,
R: Sync,
impl<R> Unpin for Chainable<R> where
R: Unpin,
R: Unpin,
impl<R> UnwindSafe for Chainable<R> where
R: UnwindSafe,
R: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,