Struct encoding_rs::euc_kr::EucKrEncoder
source · pub struct EucKrEncoder;
Implementations§
source§impl EucKrEncoder
impl EucKrEncoder
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 EucKrEncoder
impl RefUnwindSafe for EucKrEncoder
impl Send for EucKrEncoder
impl Sync for EucKrEncoder
impl Unpin for EucKrEncoder
impl UnwindSafe for EucKrEncoder
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