Struct custom_print::WriteCStrFn [−][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 IntoWriteFn
trait to simplify type inference.
Implementations
Trait Implementations
impl<F: PartialEq, R: PartialEq> PartialEq<WriteCStrFn<F, R>> for WriteCStrFn<F, R> where
F: FnMut(&CStr) -> R,
[src]
impl<F: PartialEq, R: PartialEq> PartialEq<WriteCStrFn<F, R>> for WriteCStrFn<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 WriteCStrFn<F, R> where
F: RefUnwindSafe,
impl<F, R> Send for WriteCStrFn<F, R> where
F: Send,
impl<F, R> Sync for WriteCStrFn<F, R> where
F: Sync,
impl<F, R> Unpin for WriteCStrFn<F, R> where
F: Unpin,
impl<F, R> UnwindSafe for WriteCStrFn<F, R> where
F: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more