pub struct FmtWriter<F1>(/* private fields */);
Expand description
Implementations§
Source§impl<F1> FmtWriter<F1>where
F1: WriteStr,
impl<F1> FmtWriter<F1>where
F1: WriteStr,
Sourcepub fn from_closure<F, Ts>(closure: F) -> Selfwhere
F: IntoWriteFn<Ts, WriteFn = F1>,
pub fn from_closure<F, Ts>(closure: F) -> Selfwhere
F: IntoWriteFn<Ts, WriteFn = F1>,
Creates a new FmtWriter
with a WriteStr
wrapper
deduced with IntoWriteFn
by the closure signature and constructed from it.
Trait Implementations§
Source§impl<F1> Write for FmtWriter<F1>
impl<F1> Write for FmtWriter<F1>
Source§impl<F1> WriteBytes for FmtWriter<F1>
impl<F1> WriteBytes for FmtWriter<F1>
impl<F1: Copy> Copy for FmtWriter<F1>
impl<F1: Eq> Eq for FmtWriter<F1>
impl<F1> StructuralPartialEq for FmtWriter<F1>
Auto Trait Implementations§
impl<F1> Freeze for FmtWriter<F1>where
F1: Freeze,
impl<F1> RefUnwindSafe for FmtWriter<F1>where
F1: RefUnwindSafe,
impl<F1> Send for FmtWriter<F1>where
F1: Send,
impl<F1> Sync for FmtWriter<F1>where
F1: Sync,
impl<F1> Unpin for FmtWriter<F1>where
F1: Unpin,
impl<F1> UnwindSafe for FmtWriter<F1>where
F1: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more