1 2 3 4 5 6 7 8 9 10 11
use crate::emit_traits; use newer_type::target; emit_traits! { #[implement_of(newer_type_std::string::ToString)] #[slot(u8)] #[target(alternative = ::std::string::ToString)] pub trait ToString { fn to_string(&self) -> ::std::string::String; } }