Struct custom_print::WriteStringFn [−][src]
Expand description
A wrapper for write functions for<R> FnMut(String) -> R.
It implements WriteStr trait and can be used in conjunction with IntoWriteFn and IntoTryWriteFn traits to simplify type inference.
Implementations
Trait Implementations
impl<F: PartialEq, R: PartialEq> PartialEq<WriteStringFn<F, R>> for WriteStringFn<F, R> where
F: FnMut(String) -> R, [src]
impl<F: PartialEq, R: PartialEq> PartialEq<WriteStringFn<F, R>> for WriteStringFn<F, R> where
F: FnMut(String) -> R, [src]This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl<F, R> RefUnwindSafe for WriteStringFn<F, R> where
F: RefUnwindSafe, impl<F, R> Send for WriteStringFn<F, R> where
F: Send, impl<F, R> Sync for WriteStringFn<F, R> where
F: Sync, impl<F, R> Unpin for WriteStringFn<F, R> where
F: Unpin, impl<F, R> UnwindSafe for WriteStringFn<F, R> where
F: UnwindSafe, Blanket Implementations
Mutably borrows from an owned value. Read more