Struct Buffer

struct Buffer { ... }

TOML Document serialization buffer

Implementations

impl Buffer

fn new() -> Self

Initialize a new serialization buffer

fn clear(self: &mut Self)

Reset the buffer for serializing another document

impl Debug for Buffer

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

impl Default for Buffer

fn default() -> Buffer

impl Display for Buffer

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

impl Freeze for Buffer

impl RefUnwindSafe for Buffer

impl Send for Buffer

impl Sync for Buffer

impl Unpin for Buffer

impl UnsafeUnpin for Buffer

impl UnwindSafe for Buffer

impl<T> Any for Buffer

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Buffer

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

impl<T> BorrowMut for Buffer

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

impl<T> From for Buffer

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToString for Buffer

fn to_string(self: &Self) -> String

impl<T, U> Into for Buffer

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 Buffer

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

impl<T, U> TryInto for Buffer

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