Skip to main content

StrChunk

Trait StrChunk 

Source
pub trait StrChunk {
    // Required method
    fn chunk(&self, len: usize) -> impl Iterator<Item = &str>;
}

Required Methods§

Source

fn chunk(&self, len: usize) -> impl Iterator<Item = &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 StrChunk for str

Source§

fn chunk(&self, len: usize) -> impl Iterator<Item = &str>

Implementors§