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