Struct custom_print::FlushFn [−][src]
pub struct FlushFn<F, R>(_)
where
F: FnMut() -> R;
Expand description
A wrapper for flush function for<R> FnMut(*const c_char) -> R.
It implements Flush trait and can be used in conjunction with IntoTryWriteFn trait to simplify type inference.
Implementations
Trait Implementations
Auto Trait Implementations
impl<F, R> RefUnwindSafe for FlushFn<F, R> where
F: RefUnwindSafe, impl<F, R> UnwindSafe for FlushFn<F, R> where
F: UnwindSafe, Blanket Implementations
Mutably borrows from an owned value. Read more