Trait ToString

Source
pub unsafe trait ToString: ToString { }
Expand description

This trait is empty declaration of ::std::string::ToString to be used with newer_type::implement.

§Example

#[implement(newer_type_std::string::ToString)]
struct MyStruct {
    slot: u8
}

§Safety

should be implemented by newer_type::implement

Implementors§