Struct unicode::str::Utf16EncoderExperimental
[-]
[+]
[src]
pub struct Utf16Encoder<I> { // some fields omitted }
Iterator adaptor for encoding char
s to UTF-16.
Methods
impl<I> Utf16Encoder<I>
fn new(chars: I) -> Utf16Encoder<I> where I: Iterator<char>
Create an UTF-16 encoder from any char
iterator.