[][src]Struct serde_closure::structs::FnOnce

pub struct FnOnce<F> { /* fields omitted */ }

A struct representing a serializable closure, created by the FnOnce macro. Implements std::ops::FnOnce, Debug, Serialize and Deserialize, and various convenience traits.

See the readme for examples.

Trait Implementations

impl<F: Clone> Clone for FnOnce<F>[src]

impl<F: Copy> Copy for FnOnce<F>[src]

impl<F> Debug for FnOnce<F> where
    F: Debug
[src]

impl<'de, F> Deserialize<'de> for FnOnce<F> where
    F: Deserialize<'de>, 
[src]

impl<F: Eq> Eq for FnOnce<F>[src]

impl<F, I> FnOnce<I> for FnOnce<F> where
    F: FnOnce<I>, 
[src]

type Output = F::Output

The returned type after the call operator is used.

impl<F: Hash> Hash for FnOnce<F>[src]

impl<F: Ord> Ord for FnOnce<F>[src]

impl<F: PartialEq> PartialEq<FnOnce<F>> for FnOnce<F>[src]

impl<F: PartialOrd> PartialOrd<FnOnce<F>> for FnOnce<F>[src]

impl<F> Serialize for FnOnce<F> where
    F: Serialize
[src]

impl<F> StructuralEq for FnOnce<F>[src]

impl<F> StructuralPartialEq for FnOnce<F>[src]

Auto Trait Implementations

impl<F> RefUnwindSafe for FnOnce<F> where
    F: RefUnwindSafe

impl<F> Send for FnOnce<F> where
    F: Send

impl<F> Sync for FnOnce<F> where
    F: Sync

impl<F> Unpin for FnOnce<F> where
    F: Unpin

impl<F> UnwindSafe for FnOnce<F> where
    F: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T, O> FnOnce<()> for T where
    T: FnOnce() -> O, 
[src]

type Output = O

The returned type after the call operator is used.

impl<T, A, B, C, D, E, F, G, H, I, J, K, L, O> FnOnce<(A, B, C, D, E, F, G, H, I, J, K, L)> for T where
    T: FnOnce(A, B, C, D, E, F, G, H, I, J, K, L) -> O, 
[src]

type Output = O

The returned type after the call operator is used.

impl<T, B, C, D, E, F, G, H, I, J, K, L, O> FnOnce<(B, C, D, E, F, G, H, I, J, K, L)> for T where
    T: FnOnce(B, C, D, E, F, G, H, I, J, K, L) -> O, 
[src]

type Output = O

The returned type after the call operator is used.

impl<T, C, D, E, F, G, H, I, J, K, L, O> FnOnce<(C, D, E, F, G, H, I, J, K, L)> for T where
    T: FnOnce(C, D, E, F, G, H, I, J, K, L) -> O, 
[src]

type Output = O

The returned type after the call operator is used.

impl<T, D, E, F, G, H, I, J, K, L, O> FnOnce<(D, E, F, G, H, I, J, K, L)> for T where
    T: FnOnce(D, E, F, G, H, I, J, K, L) -> O, 
[src]

type Output = O

The returned type after the call operator is used.

impl<T, E, F, G, H, I, J, K, L, O> FnOnce<(E, F, G, H, I, J, K, L)> for T where
    T: FnOnce(E, F, G, H, I, J, K, L) -> O, 
[src]

type Output = O

The returned type after the call operator is used.

impl<T, F, G, H, I, J, K, L, O> FnOnce<(F, G, H, I, J, K, L)> for T where
    T: FnOnce(F, G, H, I, J, K, L) -> O, 
[src]

type Output = O

The returned type after the call operator is used.

impl<T, G, H, I, J, K, L, O> FnOnce<(G, H, I, J, K, L)> for T where
    T: FnOnce(G, H, I, J, K, L) -> O, 
[src]

type Output = O

The returned type after the call operator is used.

impl<T, H, I, J, K, L, O> FnOnce<(H, I, J, K, L)> for T where
    T: FnOnce(H, I, J, K, L) -> O, 
[src]

type Output = O

The returned type after the call operator is used.

impl<T, I, J, K, L, O> FnOnce<(I, J, K, L)> for T where
    T: FnOnce(I, J, K, L) -> O, 
[src]

type Output = O

The returned type after the call operator is used.

impl<T, J, K, L, O> FnOnce<(J, K, L)> for T where
    T: FnOnce(J, K, L) -> O, 
[src]

type Output = O

The returned type after the call operator is used.

impl<T, K, L, O> FnOnce<(K, L)> for T where
    T: FnOnce(K, L) -> O, 
[src]

type Output = O

The returned type after the call operator is used.

impl<T, L, O> FnOnce<(L,)> for T where
    T: FnOnce(L) -> O, 
[src]

type Output = O

The returned type after the call operator is used.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.