pub trait Chomp<'a> {
// Required method
fn chomp(_: Self) -> &'a str;
}Expand description
Trait for specifying how to remove the trailing newline characters (\r, \n).
Required Methods§
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.