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