Struct CoreWriteAsPartsWrite

struct CoreWriteAsPartsWrite<W: fmt::Write + ?Sized>(7)

A wrapper around a type implementing fmt::Write that implements PartsWrite.

Implementations

impl<T> Any for CoreWriteAsPartsWrite<W>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for CoreWriteAsPartsWrite<W>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for CoreWriteAsPartsWrite<W>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for CoreWriteAsPartsWrite<W>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for CoreWriteAsPartsWrite<W>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for CoreWriteAsPartsWrite<W>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for CoreWriteAsPartsWrite<W>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl<W> Freeze for CoreWriteAsPartsWrite<W>

impl<W> RefUnwindSafe for CoreWriteAsPartsWrite<W>

impl<W> Send for CoreWriteAsPartsWrite<W>

impl<W> Sync for CoreWriteAsPartsWrite<W>

impl<W> Unpin for CoreWriteAsPartsWrite<W>

impl<W> UnsafeUnpin for CoreWriteAsPartsWrite<W>

impl<W> UnwindSafe for CoreWriteAsPartsWrite<W>

impl<W: $crate::fmt::Debug + fmt::Write + ?Sized> Debug for CoreWriteAsPartsWrite<W>

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl<W: fmt::Write + ?Sized> PartsWrite for CoreWriteAsPartsWrite<W>

fn with_part<impl FnMut(&mut Self::SubPartsWrite) -> fmt::Result: FnMut(&mut <Self as >::SubPartsWrite) -> fmt::Result>(self: &mut Self, _part: Part, f: impl FnMut(&mut <Self as >::SubPartsWrite) -> Result) -> Result

impl<W: fmt::Write + ?Sized> Write for CoreWriteAsPartsWrite<W>

fn write_str(self: &mut Self, s: &str) -> Result
fn write_char(self: &mut Self, c: char) -> Result