Struct encoding::codec::simpchinese::HZEncoder [] [src]

pub struct HZEncoder {
    // some fields omitted
}

An encoder for HZ.

Methods

impl HZEncoder

fn new() -> Box<RawEncoder>

Trait Implementations

impl RawEncoder for HZEncoder

fn from_self(&self) -> Box<RawEncoder>

fn is_ascii_compatible(&self) -> bool

fn raw_feed(&mut self, input: &str, output: &mut ByteWriter) -> (usize, Option<CodecError>)

fn raw_finish(&mut self, _output: &mut ByteWriter) -> Option<CodecError>

Derived Implementations

impl Copy for HZEncoder

impl Clone for HZEncoder

fn clone(&self) -> HZEncoder

fn clone_from(&mut self, source: &Self)