Struct encoding_rs::handles::Utf8BmpHandle
source · pub struct Utf8BmpHandle<'a, 'b>where
'b: 'a,{
dest: &'a mut Utf8Destination<'b>,
}
Fields§
§dest: &'a mut Utf8Destination<'b>
Implementations§
source§impl<'a, 'b> Utf8BmpHandle<'a, 'b>where
'b: 'a,
impl<'a, 'b> Utf8BmpHandle<'a, 'b>where
'b: 'a,
fn new(dst: &'a mut Utf8Destination<'b>) -> Utf8BmpHandle<'a, 'b>
pub fn written(&self) -> usize
pub fn write_ascii(self, ascii: u8) -> &'a mut Utf8Destination<'b>
pub fn write_bmp(self, bmp: u16) -> &'a mut Utf8Destination<'b>
pub fn write_bmp_excl_ascii(self, bmp: u16) -> &'a mut Utf8Destination<'b>
pub fn write_mid_bmp(self, bmp: u16) -> &'a mut Utf8Destination<'b>
pub fn write_upper_bmp(self, bmp: u16) -> &'a mut Utf8Destination<'b>
pub fn commit(self) -> &'a mut Utf8Destination<'b>
Auto Trait Implementations§
impl<'a, 'b> Freeze for Utf8BmpHandle<'a, 'b>
impl<'a, 'b> RefUnwindSafe for Utf8BmpHandle<'a, 'b>
impl<'a, 'b> Send for Utf8BmpHandle<'a, 'b>
impl<'a, 'b> Sync for Utf8BmpHandle<'a, 'b>
impl<'a, 'b> Unpin for Utf8BmpHandle<'a, 'b>
impl<'a, 'b> !UnwindSafe for Utf8BmpHandle<'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