pub struct Big5Decoder {
lead: Option<u8>,
}Fields§
§lead: Option<u8>Implementations§
Source§impl Big5Decoder
impl Big5Decoder
pub fn new() -> VariantDecoder
pub fn in_neutral_state(&self) -> bool
fn plus_one_if_lead(&self, byte_length: usize) -> Option<usize>
pub fn max_utf16_buffer_length(&self, byte_length: usize) -> Option<usize>
pub fn max_utf8_buffer_length_without_replacement( &self, byte_length: usize, ) -> Option<usize>
pub fn max_utf8_buffer_length(&self, byte_length: usize) -> Option<usize>
pub fn decode_to_utf8_raw( &mut self, src: &[u8], dst: &mut [u8], last: bool, ) -> (DecoderResult, usize, usize)
pub fn decode_to_utf16_raw( &mut self, src: &[u8], dst: &mut [u16], last: bool, ) -> (DecoderResult, usize, usize)
Auto Trait Implementations§
impl Freeze for Big5Decoder
impl RefUnwindSafe for Big5Decoder
impl Send for Big5Decoder
impl Sync for Big5Decoder
impl Unpin for Big5Decoder
impl UnsafeUnpin for Big5Decoder
impl UnwindSafe for Big5Decoder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more