pub trait SeparatorT: StringExtT + Copy {
// Required method
fn remove_end(&self, string: &mut Vec<u8>);
}
Expand description
Trait for removing the separator from the end of the string
Required Methods§
Sourcefn remove_end(&self, string: &mut Vec<u8>)
fn remove_end(&self, string: &mut Vec<u8>)
Remove the separator from the end of the string
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.