pub struct ToFmt<T: ?Sized> { /* private fields */ }Expand description
Adapter to the core::fmt::Write trait.
Implementations§
Source§impl<T> ToFmt<T>
impl<T> ToFmt<T>
Sourcepub fn into_inner(self) -> T
pub fn into_inner(self) -> T
Consume the adapter, returning the inner object.
Trait Implementations§
Source§impl<T: Write + ?Sized> Write for ToFmt<T>
impl<T: Write + ?Sized> Write for ToFmt<T>
impl<T: ?Sized> StructuralPartialEq for ToFmt<T>
Auto Trait Implementations§
impl<T> Freeze for ToFmt<T>
impl<T> RefUnwindSafe for ToFmt<T>where
T: RefUnwindSafe + ?Sized,
impl<T> Send for ToFmt<T>
impl<T> Sync for ToFmt<T>
impl<T> Unpin for ToFmt<T>
impl<T> UnwindSafe for ToFmt<T>where
T: UnwindSafe + ?Sized,
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