Trait StrExt

Source
pub trait StrExt {
    // Required methods
    fn from_ascii_simd(bytes: &[u8]) -> Option<&str>;
    fn from_utf8_simd(bytes: &[u8]) -> Option<&str>;
}

Required Methods§

Source

fn from_ascii_simd(bytes: &[u8]) -> Option<&str>

Source

fn from_utf8_simd(bytes: &[u8]) -> Option<&str>

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 str

Implementors§