Struct encoding_rs::big5::Big5Encoder
source · pub struct Big5Encoder;
Implementations§
source§impl Big5Encoder
impl Big5Encoder
pub fn new(encoding: &'static Encoding) -> Encoder
pub fn max_buffer_length_from_utf16_without_replacement( &self, u16_length: usize, ) -> Option<usize>
pub fn max_buffer_length_from_utf8_without_replacement( &self, byte_length: usize, ) -> Option<usize>
pub fn encode_from_utf8_raw( &mut self, src: &str, dst: &mut [u8], _last: bool, ) -> (EncoderResult, usize, usize)
pub fn encode_from_utf16_raw( &mut self, src: &[u16], dst: &mut [u8], _last: bool, ) -> (EncoderResult, usize, usize)
Auto Trait Implementations§
impl Freeze for Big5Encoder
impl RefUnwindSafe for Big5Encoder
impl Send for Big5Encoder
impl Sync for Big5Encoder
impl Unpin for Big5Encoder
impl UnwindSafe for Big5Encoder
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