pub struct IConv(/* private fields */);
Implementations§
source§impl IConv
impl IConv
pub fn new( to_codeset: impl IntoGStr, from_codeset: impl IntoGStr ) -> Option<Self>
pub fn convert(&mut self, str_: &[u8]) -> Result<(Slice<u8>, usize), CvtError>
pub fn iconv( &mut self, inbuf: Option<&[u8]>, outbuf: Option<&mut [MaybeUninit<u8>]> ) -> Result<(usize, usize, usize), IConvError>
Trait Implementations§
Auto Trait Implementations§
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