Struct encoding::codec::japanese::ISO2022JPEncodingUnstable [-]  [+] [src]

pub struct ISO2022JPEncoding;

ISO-2022-JP.

This version of ISO-2022-JP does not correspond to any standardized repertoire of character sets due to the widespread implementation differences. The following character sets are supported:

Trait Implementations

impl Encoding for ISO2022JPEncoding

fn name(&self) -> &'static str

fn whatwg_name(&self) -> Option<&'static str>

fn encoder(&self) -> Box<Encoder>

fn decoder(&self) -> Box<Decoder>

fn encode(&self, input: &str, trap: EncoderTrap) -> Result<Vec<u8>, SendStr>

fn decode(&self, input: &[u8], trap: DecoderTrap) -> Result<String, SendStr>

Derived Implementations

impl Clone for ISO2022JPEncoding

fn clone(&self) -> ISO2022JPEncoding

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