pub trait Evaluation {
// Required methods
fn backslashes(&self) -> &Range<usize>;
fn range(&self) -> &Range<usize>;
// Provided methods
fn is_escaped(&self) -> bool { ... }
fn replace<S: Into<String>, F: FnOnce() -> Result<S>>(
&self,
target: &mut String,
producer: F,
) -> Result<()> { ... }
}
Required Methods§
Provided Methods§
fn is_escaped(&self) -> bool
fn replace<S: Into<String>, F: FnOnce() -> Result<S>>( &self, target: &mut String, producer: F, ) -> Result<()>
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.