[][src]Struct format_xml::FnFmt

#[repr(transparent)]
pub struct FnFmt<F: Fn(&mut Formatter) -> Result>(pub F);

Implements std::fmt::Display for the Fn closure matching fmt's signature.

Trait Implementations

impl<F: Clone + Fn(&mut Formatter) -> Result> Clone for FnFmt<F>[src]

impl<F: Copy + Fn(&mut Formatter) -> Result> Copy for FnFmt<F>[src]

impl<F: Fn(&mut Formatter) -> Result> Debug for FnFmt<F>[src]

impl<F: Fn(&mut Formatter) -> Result> Display for FnFmt<F>[src]

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

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> ToString for T where
    T: Display + ?Sized
[src]

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

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.

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

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

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