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