IteratorExt

Trait IteratorExt 

Source
pub trait IteratorExt
where Self: IntoIterator + Sized, Self::Item: Borrow<u8> + Sized,
{ // Provided method fn sjis1997<'b>(self) -> Decoder<'b, Self> { ... } }
Expand description

Extension trait for iterators of bytes and adds the helper function IteratorExt::sjis1997 for decoding as Shift JIS 1997 strings.

Provided Methods§

Source

fn sjis1997<'b>(self) -> Decoder<'b, Self>

Decode self iterator of bytes as Shift JIS 1997.

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.

Implementors§

Source§

impl<I> IteratorExt for I
where I: IntoIterator, I::Item: Borrow<u8> + Sized,