pub trait ElementEscaper {
// Required methods
fn needs_escaping(elem: &[u8]) -> bool;
fn escape_char(c: u8) -> u8;
}
Required Methods§
fn needs_escaping(elem: &[u8]) -> bool
fn escape_char(c: u8) -> u8
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.