Struct custom_print::WriteCStringFn [−][src]
Expand description
A wrapper for write functions for<R> FnMut(CString) -> 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<WriteCStringFn<F, R>> for WriteCStringFn<F, R> where
F: FnMut(CString) -> R,
[src]
impl<F: PartialEq, R: PartialEq> PartialEq<WriteCStringFn<F, R>> for WriteCStringFn<F, R> where
F: FnMut(CString) -> 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 WriteCStringFn<F, R> where
F: RefUnwindSafe,
impl<F, R> Send for WriteCStringFn<F, R> where
F: Send,
impl<F, R> Sync for WriteCStringFn<F, R> where
F: Sync,
impl<F, R> Unpin for WriteCStringFn<F, R> where
F: Unpin,
impl<F, R> UnwindSafe for WriteCStringFn<F, R> where
F: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more