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

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

A struct representing a serializable closure, created by the FnOnce macro. Implements traits::FnOnce (and std::ops::FnOnce on nightly), 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, Args> FnOnce<Args> for T where
    T: FnOnce<Args>, 
[src]

type Output = <T as FnOnce<Args>>::Output

The returned type after the call operator is used.

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

type Output = <F as FnOnce<A>>::Output

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.