Struct custom_print::TryWriteCStrFn [−][src]
Expand description
A wrapper for write functions for<R> FnMut(&CStr) -> R
.
It implements WriteBytes
and WriteStr
traits and can be used in conjunction with IntoTryWriteFn
trait to simplify type inference.
Implementations
Trait Implementations
impl<F: PartialEq, R: PartialEq> PartialEq<TryWriteCStrFn<F, R>> for TryWriteCStrFn<F, R> where
F: FnMut(&CStr) -> R,
[src]
impl<F: PartialEq, R: PartialEq> PartialEq<TryWriteCStrFn<F, R>> for TryWriteCStrFn<F, R> where
F: FnMut(&CStr) -> 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 TryWriteCStrFn<F, R> where
F: RefUnwindSafe,
impl<F, R> Send for TryWriteCStrFn<F, R> where
F: Send,
impl<F, R> Sync for TryWriteCStrFn<F, R> where
F: Sync,
impl<F, R> Unpin for TryWriteCStrFn<F, R> where
F: Unpin,
impl<F, R> UnwindSafe for TryWriteCStrFn<F, R> where
F: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more