pub trait StrExt: Sealed {
// Required method
fn line_indices(&self) -> LineIndices<'_>;
}Required Methods§
fn line_indices(&self) -> LineIndices<'_>
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 StrExt for String
Available on crate feature alloc only.
impl StrExt for String
Available on crate feature
alloc only.