Trait lz_str::IntoWideIter

source ·
pub trait IntoWideIter {
    type Iter: Iterator<Item = u16>;

    // Required method
    fn into_wide_iter(self) -> Self::Iter;
}
Expand description

A trait to make it easier to pass arguments to functions.

Required Associated Types§

source

type Iter: Iterator<Item = u16>

The Iterator type

Required Methods§

source

fn into_wide_iter(self) -> Self::Iter

Convert this object into something that yields possibly invalid wide characters.

Implementations on Foreign Types§

source§

impl IntoWideIter for Vec<u16>

§

type Iter = IntoIter<u16>

source§

fn into_wide_iter(self) -> Self::Iter

source§

impl<'a> IntoWideIter for &&'a str

§

type Iter = EncodeUtf16<'a>

source§

fn into_wide_iter(self) -> Self::Iter

source§

impl<'a> IntoWideIter for &'a str

§

type Iter = EncodeUtf16<'a>

source§

fn into_wide_iter(self) -> Self::Iter

source§

impl<'a> IntoWideIter for &'a String

§

type Iter = EncodeUtf16<'a>

source§

fn into_wide_iter(self) -> Self::Iter

source§

impl<'a> IntoWideIter for &'a Vec<u16>

§

type Iter = Copied<Iter<'a, u16>>

source§

fn into_wide_iter(self) -> Self::Iter

source§

impl<'a> IntoWideIter for &'a [u16]

§

type Iter = Copied<Iter<'a, u16>>

source§

fn into_wide_iter(self) -> Self::Iter

Implementors§