Struct encoding_rs::handles::ByteThreeHandle
source · pub struct ByteThreeHandle<'a, 'b>where
'b: 'a,{
dest: &'a mut ByteDestination<'b>,
}
Fields§
§dest: &'a mut ByteDestination<'b>
Implementations§
source§impl<'a, 'b> ByteThreeHandle<'a, 'b>where
'b: 'a,
impl<'a, 'b> ByteThreeHandle<'a, 'b>where
'b: 'a,
fn new(dst: &'a mut ByteDestination<'b>) -> ByteThreeHandle<'a, 'b>
pub fn written(&self) -> usize
pub fn write_one(self, first: u8) -> &'a mut ByteDestination<'b>
pub fn write_two(self, first: u8, second: u8) -> &'a mut ByteDestination<'b>
pub fn write_three( self, first: u8, second: u8, third: u8, ) -> &'a mut ByteDestination<'b>
pub fn write_three_return_written( self, first: u8, second: u8, third: u8, ) -> usize
Auto Trait Implementations§
impl<'a, 'b> Freeze for ByteThreeHandle<'a, 'b>
impl<'a, 'b> RefUnwindSafe for ByteThreeHandle<'a, 'b>
impl<'a, 'b> Send for ByteThreeHandle<'a, 'b>
impl<'a, 'b> Sync for ByteThreeHandle<'a, 'b>
impl<'a, 'b> Unpin for ByteThreeHandle<'a, 'b>
impl<'a, 'b> !UnwindSafe for ByteThreeHandle<'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