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§
impl Freeze for IConv
impl RefUnwindSafe for IConv
impl !Sync for IConv
impl Unpin for IConv
impl UnsafeUnpin for IConv
impl UnwindSafe for IConv
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