Trait WriteTomlKey

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

Required Methods§

Source

fn write_toml_key<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 WriteTomlKey for Cow<'_, str>

Source§

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

Source§

impl WriteTomlKey for str

Source§

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

Source§

impl WriteTomlKey for String

Source§

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

Source§

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

Source§

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

Implementors§