EscapedString

Trait EscapedString 

Source
pub trait EscapedString:
    AsRef<str>
    + Debug
    + Send
    + Sync
    + 'static {
    // Required methods
    fn from_unescaped(unescaped_str: &str) -> Self;
    fn already_escaped(escaped_str: String) -> Self;
}

Required Methods§

Source

fn from_unescaped(unescaped_str: &str) -> Self

Source

fn already_escaped(escaped_str: String) -> 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§