Skip to main content

CharRangeExt

Trait CharRangeExt 

Source
pub trait CharRangeExt {
    // Required method
    fn full(text: &str) -> Self;
}
Expand description

Extension methods for a CharRange.

Required Methods§

Source

fn full(text: &str) -> Self

The full character range covering text, i.e. 0..text.chars().count().

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§