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