Trait WriteTomlValue

Source
pub trait WriteTomlValue {
    // Required method
    fn write_toml_value<W: TomlWrite + ?Sized>(&self, writer: &mut W) -> Result;
}

Required Methods§

Source

fn write_toml_value<W: TomlWrite + ?Sized>(&self, writer: &mut W) -> Result

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl WriteTomlValue for Cow<'_, str>

Source§

impl WriteTomlValue for bool

Source§

impl WriteTomlValue for char

Source§

impl WriteTomlValue for f32

Source§

impl WriteTomlValue for f64

Source§

impl WriteTomlValue for i8

Source§

impl WriteTomlValue for i16

Source§

impl WriteTomlValue for i32

Source§

impl WriteTomlValue for i64

Source§

impl WriteTomlValue for i128

Source§

impl WriteTomlValue for str

Source§

impl WriteTomlValue for u8

Source§

impl WriteTomlValue for u16

Source§

impl WriteTomlValue for u32

Source§

impl WriteTomlValue for u64

Source§

impl WriteTomlValue for u128

Source§

impl WriteTomlValue for String

Source§

impl<K: WriteTomlKey, V: WriteTomlValue> WriteTomlValue for BTreeMap<K, V>

Source§

impl<K: WriteTomlKey, V: WriteTomlValue> WriteTomlValue for HashMap<K, V>

Source§

impl<V: WriteTomlValue + ?Sized> WriteTomlValue for &V

Source§

impl<V: WriteTomlValue> WriteTomlValue for [V]

Source§

impl<V: WriteTomlValue> WriteTomlValue for Vec<V>

Source§

impl<V: WriteTomlValue, const N: usize> WriteTomlValue for [V; N]

Implementors§