Trait encoding::codec::utf_16::EndianUnstable [-]  [+] [src]

trait Endian {
    fn name(_endian: Option<Self>) -> &'static str;
    fn whatwg_name(_endian: Option<Self>) -> Option<&'static str>;
    fn write_two_bytes(_endian: Option<Self>, output: &mut ByteWriter, msb: u8, lsb: u8);
    fn concat_two_bytes(_endian: Option<Self>, lead: u16, trail: u8) -> u16;
}

An internal trait used to customize UTF-16 implementations.

Required Methods

fn name(_endian: Option<Self>) -> &'static str

fn whatwg_name(_endian: Option<Self>) -> Option<&'static str>

fn write_two_bytes(_endian: Option<Self>, output: &mut ByteWriter, msb: u8, lsb: u8)

fn concat_two_bytes(_endian: Option<Self>, lead: u16, trail: u8) -> u16

Implementors