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