Struct encoding_rs::handles::Utf16ReadHandle
source · pub struct Utf16ReadHandle<'a, 'b>where
'b: 'a,{
source: &'a mut Utf16Source<'b>,
}
Fields§
§source: &'a mut Utf16Source<'b>
Implementations§
source§impl<'a, 'b> Utf16ReadHandle<'a, 'b>where
'b: 'a,
impl<'a, 'b> Utf16ReadHandle<'a, 'b>where
'b: 'a,
fn new(src: &'a mut Utf16Source<'b>) -> Utf16ReadHandle<'a, 'b>
pub fn read(self) -> (char, Utf16UnreadHandle<'a, 'b>)
pub fn read_enum(self) -> (Unicode, Utf16UnreadHandle<'a, 'b>)
pub fn consumed(&self) -> usize
Auto Trait Implementations§
impl<'a, 'b> Freeze for Utf16ReadHandle<'a, 'b>
impl<'a, 'b> RefUnwindSafe for Utf16ReadHandle<'a, 'b>
impl<'a, 'b> Send for Utf16ReadHandle<'a, 'b>
impl<'a, 'b> Sync for Utf16ReadHandle<'a, 'b>
impl<'a, 'b> Unpin for Utf16ReadHandle<'a, 'b>
impl<'a, 'b> !UnwindSafe for Utf16ReadHandle<'a, 'b>
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