Stringify

Trait Stringify 

Source
pub trait Stringify {
    // Required methods
    fn to_str(&self) -> &str;
    fn from_str(val: &str) -> Self;
}

Required Methods§

Source

fn to_str(&self) -> &str

Source

fn from_str(val: &str) -> Self

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.

Implementors§