EscapeContainer

Trait EscapeContainer 

Source
pub(crate) trait EscapeContainer {
    // Required methods
    fn new() -> Self;
    fn is_empty(&self) -> bool;
    fn push(&mut self, v: Unescape);
    fn push_str(&mut self, s: &str);
}

Required Methods§

Source

fn new() -> Self

Source

fn is_empty(&self) -> bool

Source

fn push(&mut self, v: Unescape)

Source

fn push_str(&mut self, s: &str)

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 EscapeContainer for String

Source§

fn new() -> Self

Source§

fn is_empty(&self) -> bool

Source§

fn push_str(&mut self, s: &str)

Source§

fn push(&mut self, v: Unescape)

Source§

impl EscapeContainer for Vec<u8>

Source§

fn new() -> Self

Source§

fn is_empty(&self) -> bool

Source§

fn push_str(&mut self, s: &str)

Source§

fn push(&mut self, v: Unescape)

Implementors§